[PATCH] Value soft float calls as more expensive in the inliner.

Cameron Esfahani dirty at apple.com
Thu Jan 15 16:22:25 PST 2015


Cameron Esfahani
dirty at apple.com

"Americans are very skilled at creating a custom meaning from something that's mass-produced."

Ann Powers

> On Jan 12, 2015, at 2:48 PM, Cameron Esfahani <dirty at apple.com> wrote:
> 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
>  http://reviews.llvm.org/settings/panel/emailpreferences/
> <D6936.18049.patch>

More information about the llvm-commits mailing list