summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Option/OptTable.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-10 06:53:21 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-10 06:53:21 +0000
commit4738321f0c7cfc8a94c49e420fa0b7f1c1f8421a (patch)
tree84674e41416e8108046a79496bf2daf0f7fe5e8a /llvm/lib/Option/OptTable.cpp
parent4f16d82d6b572647ae281289f96a5068430e1581 (diff)
downloadbcm5719-llvm-4738321f0c7cfc8a94c49e420fa0b7f1c1f8421a.tar.gz
bcm5719-llvm-4738321f0c7cfc8a94c49e420fa0b7f1c1f8421a.zip
[InstCombine] Make the (A|B)^B -> A & ~B transform code consistent with the very similar (A&B)^B -> ~A & B code. This should be NFC except for the addition of hasOneUse check.
I think this code is still overly complicated and should use matchers, but first I wanted to make it consistent. llvm-svn: 299834
Diffstat (limited to 'llvm/lib/Option/OptTable.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud