[PATCH] D101875: [RISCV] Prefer to lower MC_GlobalAddress operands to .Lfoo$local
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 11 10:45:37 PDT 2021
jrtc27 added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/elf-preemption.ll:9-20
+; STATIC-LABEL: get_preemptable_var:
+; STATIC: # %bb.0:
+; STATIC-NEXT: lui a0, %hi(preemptable_var)
+; STATIC-NEXT: addi a0, a0, %lo(preemptable_var)
+; STATIC-NEXT: ret
+;
+; PIC-LABEL: get_preemptable_var:
----------------
Old CHECK lines
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101875/new/
https://reviews.llvm.org/D101875
More information about the llvm-commits
mailing list