aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-01-22 09:29:19 -0500
committerSanjay Patel <spatel@rotateright.com>2020-01-22 09:48:43 -0500
commit0ade2abdb01f4a16b1f08d1a78d664b9e9d5f3b5 (patch)
treed4960f9035b9e9a002dd622df163512c90450f7a /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentdc69265eea888e8c6255aebcdd6650420dd00cfb (diff)
downloadllvm-0ade2abdb01f4a16b1f08d1a78d664b9e9d5f3b5.zip
llvm-0ade2abdb01f4a16b1f08d1a78d664b9e9d5f3b5.tar.gz
llvm-0ade2abdb01f4a16b1f08d1a78d664b9e9d5f3b5.tar.bz2
[InstCombine] fneg(X + C) --> -C - X
This is 1 of the potential folds uncovered by extending D72521. We don't seem to do this in the backend either (unless I'm not seeing some target-specific transform). icc and gcc (appears to be target-specific) do this transform. Differential Revision: https://reviews.llvm.org/D73057
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions