[PATCH] D129137: [NFC][LoopVectorize] Explicitly disable tail-folding on some SVE tests
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 18 02:48:53 PDT 2022
sdesmalen added inline comments.
================
Comment at: llvm/test/Transforms/LoopVectorize/AArch64/scalable-alloca.ll:1
-; RUN: opt -S -loop-vectorize -mattr=+sve -mtriple aarch64-unknown-linux-gnu -force-vector-width=2 -pass-remarks-analysis=loop-vectorize -pass-remarks-missed=loop-vectorize < %s 2>%t | FileCheck %s
+; RUN: opt -S -loop-vectorize -mattr=+sve -mtriple aarch64-unknown-linux-gnu -force-vector-width=2 -prefer-predicate-over-epilogue=scalar-epilogue \
+; RUN: -pass-remarks-analysis=loop-vectorize -pass-remarks-missed=loop-vectorize < %s 2>%t | FileCheck %s
----------------
This test is more of a negative test for scalable vectors, so even if tail-folding would be the new default for SVE, then this test would be unchanged? I'd expect something similar to be true for the sve-epilog-vect-* tests, which don't get tail-folded because it's testing a vectorized epilogue loop. You'd only need to modify the tests that would actually change if predication is enabled by default for SVE, which I would expect to be the same set as in D129986?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129137/new/
https://reviews.llvm.org/D129137
More information about the llvm-commits
mailing list