[PATCH] D105528: [RuntimeDyldChecker] Support offset in decode_operand expr

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 18 07:03:35 PDT 2021


jrtc27 added inline comments.


================
Comment at: llvm/test/ExecutionEngine/JITLink/RISCV/ELF_pc_indirect.s:22
+# jitlink-check: decode_operand(test_pcrel32, 1) = ((named_data - test_pcrel32) + 0x800)[31:12]
+# jitlink-check: decode_operand(test_pcrel32+4, 2)[11:0] = ((named_data - test_pcrel32) & 0xfff)[11:0]
         .globl  test_pcrel32
----------------
`(...  & 0xfff)[11:0]` is a strange thing to write, you don't need both


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105528



More information about the llvm-commits mailing list