[llvm] [RISC-V] Use an optional offset operand instead of zero-offset InstAliases (PR #210901)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 09:47:33 PDT 2026


================
@@ -79,9 +79,7 @@ lw a0, -2049(a3)
 lw a0, -2049(f0)
 # CHECK: :[[@LINE-1]]:1: error: invalid instruction, any one of the following would fix this:
 # CHECK: :[[@LINE-2]]:8: note: operand must be a bare symbol name
-# CHECK: :[[@LINE-3]]:8: note: expected '('
-# CHECK: :[[@LINE-4]]:8: note: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]
-# CHECK: :[[@LINE-5]]:8: note: immediate must be an integer in the range [-2048, 2047]
----------------
arichardson wrote:

It's back now in the latest version.

https://github.com/llvm/llvm-project/pull/210901


More information about the llvm-commits mailing list