summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2018-04-28 15:45:00 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2018-04-28 15:45:00 +0000
commit6b1e66b188a6da71d18761791906b97135599742 (patch)
tree710427874a703ebda0409bde6f53dded545169ae /llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
parent39d7720354b17bf10c64f5b585d09bc207227142 (diff)
downloadbcm5719-llvm-6b1e66b188a6da71d18761791906b97135599742.tar.gz
bcm5719-llvm-6b1e66b188a6da71d18761791906b97135599742.zip
[InstCombine][NFC] Add tests for variable mask canonicalization in masked merge
Summary: Masked merge has a pattern of: `((x ^ y) & M) ^ y`. But, there is no difference between `((x ^ y) & M) ^ y` and `((x ^ y) & ~M) ^ x`, We should canonicalize the pattern to non-inverted mask. Differential Revision: https://reviews.llvm.org/D45663 llvm-svn: 331111
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud