aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/FileManagerTest.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-08-02 06:35:15 +0000
committerCraig Topper <craig.topper@intel.com>2017-08-02 06:35:15 +0000
commit35427e64312136dcb6c4d1fe2ed0f5ae29c2b35c (patch)
treeb83bbde4be11c2de010b99e9ea3189fccd7bdd50 /clang/unittests/Basic/FileManagerTest.cpp
parent9952d95921f0d609e81aed7e5c7ddbb80a4bc132 (diff)
downloadllvm-35427e64312136dcb6c4d1fe2ed0f5ae29c2b35c.zip
llvm-35427e64312136dcb6c4d1fe2ed0f5ae29c2b35c.tar.gz
llvm-35427e64312136dcb6c4d1fe2ed0f5ae29c2b35c.tar.bz2
[InstCombine] Add test cases for 'or' and 'xor' to match the vector 'and' of 'sext' of 'cmp' test.
When the 'and' test was originally added it was intended to make sure we didn't change it to a sext of and of cmp. But since then the test was changed to expect it to be turned into 'select cmp1, sext cmp2, 0'. Then another optimization was added to turn the select into 'sext (and cmp1, cmp2)' which is exactly the transformation that was being blocked when the test case started. Looks like 'or' gets optimized in a similar way, but not 'xor'. llvm-svn: 309793
Diffstat (limited to 'clang/unittests/Basic/FileManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions