OSDN Git Service

[InstCombine] handle zero constant vectors for LE/GE comparisons too
authorSanjay Patel <spatel@rotateright.com>
Fri, 13 May 2016 17:28:12 +0000 (17:28 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 13 May 2016 17:28:12 +0000 (17:28 +0000)
commit4f864166ddda1be2c0d715a84c237c3449883b41
tree5a624397ff0eadb645b552b47f15d2b86f543853
parent8e9af26fd7f47eab7222587651139dcb735dc942
[InstCombine] handle zero constant vectors for LE/GE comparisons too

Enhancement to: http://reviews.llvm.org/rL269426
With discussion in: http://reviews.llvm.org/D17859

This should complete the fixes for: PR26701, PR26819:
https://llvm.org/bugs/show_bug.cgi?id=26701
https://llvm.org/bugs/show_bug.cgi?id=26819

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