summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
diff options
context:
space:
mode:
authorDavid Bolvansky <david.bolvansky@gmail.com>2018-07-30 20:38:53 +0000
committerDavid Bolvansky <david.bolvansky@gmail.com>2018-07-30 20:38:53 +0000
commit6737b3a6a144048341985a1733dac6f18bc7ce39 (patch)
tree4e6e6fbb255c536af1d1d3911e62e585840dbe7e /llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
parent2b5cf04180e05f7e791eb35ee9d59562cbbc725e (diff)
downloadbcm5719-llvm-6737b3a6a144048341985a1733dac6f18bc7ce39.tar.gz
bcm5719-llvm-6737b3a6a144048341985a1733dac6f18bc7ce39.zip
[InstCombine] Fold Select with binary op
Summary: Fold %A = icmp eq i8 %x, 0 %B = xor i8 %x, %z %C = select i1 %A, i8 %B, i8 %y To %C = select i1 %A, i8 %z, i8 %y Fixes https://bugs.llvm.org/show_bug.cgi?id=38345 Proof: https://rise4fun.com/Alive/43J Reviewers: lebedev.ri, spatel Reviewed By: spatel Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D49954 llvm-svn: 338300
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud