Files
rust/tests/ui/asm
Jonathan Brouwer fa3a58ef49 Rollup merge of #159607 - durin42:llvm-23-riscv32e-error-msg, r=nikic
test: update riscv32e-registers.rs for LLVM 24 MC diagnostic changes

LLVM 24 updates (in llvm/llvm-project@bff9c544bd) the diagnostic string for the RISC-V GPR register class in MC. As a result, invalid register operand references (such as x16..=x31 on riscv32e targets) now emit "register must be a GPR" instead of "invalid operand for instruction".

To keep the test passing on both LLVM <=23 and LLVM >=24, split the target revisions into versioned pairs (e.g. riscv32e_llvm23 and riscv32e_llvm24) gated by `max-llvm-major-version: 23` and `min-llvm-version: 24`, respectively, with corresponding stderr references. This is admittedly a bit aggressive - I'm also fine if we want to just set a max-llvm-major-version and ignore it or preemptively bump it for 24 and set the min version instead of this complexity.
2026-07-22 18:02:20 +02:00
..
2026-07-13 10:54:53 +02:00
2026-03-31 22:19:49 +08:00
2026-01-27 14:06:41 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00