[PATCH] D75130: Remove BinaryOperator::CreateFNeg
Simon Moll via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 25 11:27:12 PST 2020
simoll created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
With the introduction of the native fneg instruction, the
fsub -0.0, %x idiom is obsolete. This patch makes LLVM
emit fneg instead of the idiom in all places.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75130
Files:
llvm/include/llvm/IR/InstrTypes.h
llvm/lib/IR/Instructions.cpp
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
llvm/lib/Transforms/Scalar/Reassociate.cpp
llvm/test/Transforms/InstCombine/cos-sin-intrinsic.ll
llvm/test/Transforms/InstCombine/fast-math.ll
llvm/test/Transforms/InstCombine/fmul.ll
llvm/test/Transforms/InstCombine/fneg.ll
llvm/test/Transforms/InstCombine/fpcast.ll
llvm/test/Transforms/InstCombine/fsub.ll
llvm/test/Transforms/InstCombine/maximum.ll
llvm/test/Transforms/InstCombine/maxnum.ll
llvm/test/Transforms/InstCombine/minimum.ll
llvm/test/Transforms/InstCombine/minmax-fp.ll
llvm/test/Transforms/InstCombine/minnum.ll
llvm/test/Transforms/InstCombine/pow-1.ll
llvm/test/Transforms/Reassociate/fast-basictest.ll
llvm/test/Transforms/Reassociate/fp-expr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75130.246520.patch
Type: text/x-patch
Size: 37039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200225/9401a894/attachment-0001.bin>
More information about the llvm-commits
mailing list