[PATCH] [ARM] Use function attribute "arm-long-calls"
Akira Hatanaka
ahatanak at gmail.com
Wed Apr 29 21:08:34 PDT 2015
Hi echristo, dexonsmith,
This patch makes changes in ARMTargetLowering::LowerCall to check the caller function for the existence of function attribute "arm-long-calls" and use it to decide if it should emit a long call. Inliner conservatively rejects inlining if the caller has "arm-long-calls" but the callee doesn't, or vice-versa.
http://reviews.llvm.org/D9364
Files:
lib/Analysis/IPA/InlineCost.cpp
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/fn-attr-long-calls.ll
test/Transforms/Inline/attributes.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9364.24675.patch
Type: text/x-patch
Size: 3676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150430/8a2929aa/attachment.bin>
More information about the llvm-commits
mailing list