[PATCH] D107278: [RISCV] Add new lga pseudoinstruction

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 2 09:30:45 PDT 2021


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

Looks great!



================
Comment at: llvm/test/MC/RISCV/rvi-pseudos.s:51
+# CHECK-RV64: ld    a1, %pcrel_lo(.Lpcrel_hi7)(a1)
+lga a1, another_symbol
+
----------------
This test may be redundant.

Having a5 with addend (users should do it, but the assembler currently accepts the form ) below is sufficient.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107278/new/

https://reviews.llvm.org/D107278



More information about the llvm-commits mailing list