[InstCombine] add/move tests for or-of-icmps; NFC
authorSanjay Patel <spatel@rotateright.com>
Thu, 13 Apr 2017 15:46:39 +0000 (15:46 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 13 Apr 2017 15:46:39 +0000 (15:46 +0000)
commit104e36a0e9b3dd8dee6e340b11ac3dc70f215d82
treee13edbd59c8925e904fdf79e9ed517a338762d0f
parent85a530fb599458666bfa9b492075df1841bdd7a5
[InstCombine] add/move tests for or-of-icmps; NFC

If we had these tests, the bug caused by https://reviews.llvm.org/rL299851 would have been caught sooner.
There's also an assert in the code that should have caught that bug, but the assert line itself has a bug.

llvm-svn: 300201
llvm/test/Transforms/InstCombine/icmp.ll
llvm/test/Transforms/InstCombine/or.ll