[PATCH] D142879: [RISCV] Emit relocation for uleb128

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 23:51:13 PDT 2023


MaskRay added inline comments.


================
Comment at: llvm/test/MC/RISCV/fixups-expr-uleb128.s:59
+G1:
+addi a0, a0, 0
+.L2:
----------------
The interesting case is when we use a linker-relaxable instruction here.

+relax and -relax can check the behavior. See my `llvm/test/MC/RISCV/fixups-expr.s` change.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142879



More information about the llvm-commits mailing list