diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-06-24 18:26:02 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-06-24 18:26:02 +0000 |
commit | f8b08f7179bca3cac6ccb32c5f2c05a07ffabd9e (patch) | |
tree | 018b8bfcdfcf9692f2570ee008110a23e8a576b4 /llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp | |
parent | 931cb65df27d07f83c06f5a001a5368edf1655f9 (diff) | |
download | bcm5719-llvm-f8b08f7179bca3cac6ccb32c5f2c05a07ffabd9e.tar.gz bcm5719-llvm-f8b08f7179bca3cac6ccb32c5f2c05a07ffabd9e.zip |
[InstCombine] consolidate commutation variants of matchSelectFromAndOr() in one place; NFCI
By putting all the possible commutations together, we simplify the code.
Note that this is NFCI, but I'm adding tests that actually exercise each
commutation pattern because we don't have this anywhere else.
llvm-svn: 273702
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp')
0 files changed, 0 insertions, 0 deletions