[PATCH] D39871: [arm] Fix Unnecessary reloads from GOT.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 10 15:28:21 PST 2017
efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.
LGTM, assuming you've done appropriate testing.
================
Comment at: llvm/test/CodeGen/ARM/GlobalISel/arm-select-globals-pic.mir:59
; DARWIN-NOMOVT: [[G:%[0-9]+]]:gpr = LDRLIT_ga_pcrel_ldr {{.*}}@external_global :: (load 4 from got)
- ; ELF: [[G:%[0-9]+]]:gpr = LDRLIT_ga_pcrel_ldr @external_global :: (load 4 from got)
+ ; ELF: [[G:%[0-9]+]]:gpr = LDRLIT_ga_pcrel_ldr target-flags(<unknown>) @external_global :: (load 4 from got)
----------------
It would be nice to implement getSerializableDirectMachineOperandTargetFlags() to make this clearer.
https://reviews.llvm.org/D39871
More information about the llvm-commits
mailing list