diff options
author | Sanjay Patel <spatel@rotateright.com> | 2020-01-22 09:29:19 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2020-01-22 09:48:43 -0500 |
commit | 0ade2abdb01f4a16b1f08d1a78d664b9e9d5f3b5 (patch) | |
tree | d4960f9035b9e9a002dd622df163512c90450f7a /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | dc69265eea888e8c6255aebcdd6650420dd00cfb (diff) | |
download | llvm-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