diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-02-18 22:20:09 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-02-18 22:20:09 +0000 |
commit | 53c5c3d65df3d48fd147b7786ef56cf9da6548d2 (patch) | |
tree | 0289773ebb088597a27473e757ed1db508c56821 /llvm/utils/TableGen/CodeGenDAGPatterns.cpp | |
parent | fe67255961e25c1d88888831d5badb3ec96b4ba2 (diff) | |
download | llvm-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