[PATCH] Value soft float calls as more expensive in the inliner.
Cameron Esfahani
dirty at apple.com
Mon Jan 12 14:48:29 PST 2015
When evaluating floating point instructions in the inliner, ask the TTI whether it is an expensive operation. By default, it's not an expensive operation. This keeps the default behavior the same as before. The ARM TTI has been updated to return back TCC_Expensive for targets which don't have hardware floating point.
http://reviews.llvm.org/D6936
Files:
include/llvm/Analysis/TargetTransformInfo.h
lib/Analysis/IPA/InlineCost.cpp
lib/Analysis/TargetTransformInfo.cpp
lib/Target/ARM/ARMSubtarget.h
lib/Target/ARM/ARMTargetTransformInfo.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6936.18049.patch
Type: text/x-patch
Size: 4071 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150112/85b639f7/attachment.bin>
More information about the llvm-commits
mailing list