[PATCH] D29487: Make RWPI use movw/movt when available
Christof Douma via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 3 02:30:22 PST 2017
christof created this revision.
Herald added a subscriber: aemerson.
Generate MOVW/MOVT base relative relocations for global addresses accessed when targeting the RWPI relocation model. This allows `-arm-execute-only` to work with `-relocation-model=RWPI`.
Repository:
rL LLVM
https://reviews.llvm.org/D29487
Files:
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMMCInstLower.cpp
lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
test/CodeGen/ARM/arm-position-independence.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29487.86944.patch
Type: text/x-patch
Size: 8241 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170203/00258a6b/attachment.bin>
More information about the llvm-commits
mailing list