[InstCombine] FoldICmpCstShrCst didn't handle icmps of -1 in the ashr case correctly
authorDavid Majnemer <david.majnemer@gmail.com>
Sat, 19 Sep 2015 00:48:26 +0000 (00:48 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sat, 19 Sep 2015 00:48:26 +0000 (00:48 +0000)
commit1e4af0841002c55ed6302a8c98c8d1c98daa34cb
treefae8f73a45a113fea92d67c2c648dd4bdb44e04b
parent124f7d9b257ad99c6a75e0293c949333c94218a1
[InstCombine] FoldICmpCstShrCst didn't handle icmps of -1 in the ashr case correctly

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248073 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp