[PATCH] D35883: [ARM] GlobalISel: Select simple G_GLOBAL_VALUE instructions

Diana Picus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 02:33:36 PDT 2017


rovka created this revision.
Herald added subscribers: kristof.beyls, igorb, javed.absar, aemerson.

Add support in the instruction selector for G_GLOBAL_VALUE for ELF and
MachO for the static relocation model. We don't handle Windows yet
because that's Thumb-only, and we don't handle Thumb in general at the
moment.

      

Support for PIC, ROPI, RWPI and TLS will be added in subsequent commits.

Please let me know if I missed any subtleties or if the tests are completely
wrong. Thanks!


https://reviews.llvm.org/D35883

Files:
  lib/Target/ARM/ARMInstructionSelector.cpp
  test/CodeGen/ARM/GlobalISel/arm-instruction-select-globals.mir
  test/CodeGen/ARM/GlobalISel/arm-isel-globals.ll
  test/CodeGen/ARM/GlobalISel/arm-unsupported.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35883.108237.patch
Type: text/x-patch
Size: 11943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170726/436e5114/attachment.bin>


More information about the llvm-commits mailing list