aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-06-01 19:40:07 +0000
committerCraig Topper <craig.topper@intel.com>2019-06-01 19:40:07 +0000
commit7cebf0af4076c7d198ef8ef90b79d1ff422a42cd (patch)
tree525e928b02d880c35c6bf0972e4945b0cca81b86 /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
parentcd1878d0f957f72e34b378d25742dbc886f079bc (diff)
downloadllvm-7cebf0af4076c7d198ef8ef90b79d1ff422a42cd.zip
llvm-7cebf0af4076c7d198ef8ef90b79d1ff422a42cd.tar.gz
llvm-7cebf0af4076c7d198ef8ef90b79d1ff422a42cd.tar.bz2
[InlineCost] Don't add the soft float function call cost for the fneg idiom, fsub -0.0, %x
Summary: Fneg can be implemented with an xor rather than a function call so we don't need to add the function call overhead. This was pointed out in D62699 Reviewers: efriedma, cameron.mcinally Reviewed By: efriedma Subscribers: javed.absar, eraman, hiraditya, haicheng, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D62747 llvm-svn: 362304
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
0 files changed, 0 insertions, 0 deletions