aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeGenDAGPatterns.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-02-18 22:20:09 +0000
committerSanjay Patel <spatel@rotateright.com>2017-02-18 22:20:09 +0000
commit53c5c3d65df3d48fd147b7786ef56cf9da6548d2 (patch)
tree0289773ebb088597a27473e757ed1db508c56821 /llvm/utils/TableGen/CodeGenDAGPatterns.cpp
parentfe67255961e25c1d88888831d5badb3ec96b4ba2 (diff)
downloadllvm-53c5c3d65df3d48fd147b7786ef56cf9da6548d2.zip
llvm-53c5c3d65df3d48fd147b7786ef56cf9da6548d2.tar.gz
llvm-53c5c3d65df3d48fd147b7786ef56cf9da6548d2.tar.bz2
[InstCombine] add nsw/nuw X, signbit --> or X, signbit
Changing to 'or' (rather than 'xor' when no wrapping flags are set) allows icmp simplifies to happen as expected. Differential Revision: https://reviews.llvm.org/D29729 llvm-svn: 295574
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions