[LV] Add scalable vector test showing incorrect min-trip count check.
authorFlorian Hahn <flo@fhahn.com>
Fri, 15 Jul 2022 16:56:52 +0000 (09:56 -0700)
committerFlorian Hahn <flo@fhahn.com>
Fri, 15 Jul 2022 17:02:55 +0000 (10:02 -0700)
commit4c85a01758e7f7dbbbe8c2d377864617faf8c86b
tree539845370f2b81dacbf5ef8c429b8071f979c2c4
parent9153515a7bea9fb9dd4c76f70053a170bf825f35
[LV] Add scalable vector test showing incorrect min-trip count check.

The test shows a case where the minimum trip count check incorrectly
only checks the minimum profitable trip count computed due to runtime
checks. This is incorrect for scalable VFs, because the VF * UF may
exceed the minimum profitable trip count for vscale > 1.

This is the likely reason for
https://lab.llvm.org/buildbot/#/builders/197/builds/2262 failing.
llvm/test/Transforms/LoopVectorize/AArch64/sve-runtime-check-size-based-threshold.ll [new file with mode: 0644]