[InstCombine][SVE] Skip scalable type for InstCombiner::getFlippedStrictnessPredicate...
authorHuihui Zhang <huihuiz@quicinc.com>
Fri, 18 Sep 2020 18:26:28 +0000 (11:26 -0700)
committerHuihui Zhang <huihuiz@quicinc.com>
Fri, 18 Sep 2020 18:26:36 +0000 (11:26 -0700)
commit9ad6049736c58cca098b13ed128e7de0940f94a0
tree1d58950ef9691b64368a715924ff2159e96a6a04
parent82af17cde8caa8d2d020237f644d4302fc4fa589
[InstCombine][SVE] Skip scalable type for InstCombiner::getFlippedStrictnessPredicateAndConstant.

We cannot iterate on scalable vector, the number of elements is unknown at compile-time.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D87918
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/vscale_cmp.ll [new file with mode: 0644]