[PATCH] D42216: Use New Module Metadata String "AvoidPLT" to avoid calls via PLT
Sriraman Tallam via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 17 16:49:33 PST 2018
tmsriram created this revision.
tmsriram added reviewers: rnk, rafael.
Introduce a Module Metadata String "AvoidPLT" to avoid calls via PLT.
Annotating functions with nonlazybind attribute to avoid the PLT does not work for intrinsics. Intrinsics need to be handled specially and it seems easier to handle them by just annotating the module.
https://reviews.llvm.org/D42216
Files:
include/llvm/IR/Module.h
lib/IR/Module.cpp
lib/Target/TargetMachine.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/no-plt.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42216.130314.patch
Type: text/x-patch
Size: 4577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180118/dc8ab5ff/attachment.bin>
More information about the llvm-commits
mailing list