Skip to content
Commit 4738321f authored by Craig Topper's avatar Craig Topper
Browse files

[InstCombine] Make the (A|B)^B -> A & ~B transform code consistent with the...

[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
parent 4f16d82d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment