[InstCombine] Fix PR23751.
authorSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 5 Jun 2015 18:04:42 +0000 (18:04 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 5 Jun 2015 18:04:42 +0000 (18:04 +0000)
commit46216f7f993c9cd71b71d46e37054b4c27cbaf40
tree4839c66fe59870dc870dac70bdedd7e9b36d6512
parentf5c04a9da7fb273981764815905888006c53218b
[InstCombine] Fix PR23751.

PR23751 was caused by a missing ``break;`` in r234388.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239171 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/pr23751.ll [new file with mode: 0644]