[llvm] [LV] Skip low-trip count logic there is no scalar tail (PR #225633)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 26 12:28:15 PDT 2026
================
@@ -3,20 +3,22 @@
; RUN: opt -passes=loop-vectorize -mtriple=riscv64 -mattr=+v -low-trip-count-loop-body-size-limit=0 -tail-folding-policy=must-fold-tail -S %s | FileCheck %s --check-prefix=NO-EPILOGUE
; RUN: opt -passes=loop-vectorize -mtriple=riscv64 -mattr=+v -vectorizer-min-trip-count=0 -tail-folding-policy=dont-fold-tail -force-vector-width=2 -S %s | FileCheck %s --check-prefix=EPILOGUE
-; FIXME: Currently this gets miscompiled, as the forced scalar epilogue is missing.
define i32 @countable_early_exit(ptr noalias %b) {
----------------
fhahn wrote:
Thanks, added one to `llvm/test/Transforms/LoopVectorize/AArch64/sve-low-trip-count.ll`
https://github.com/llvm/llvm-project/pull/225633
More information about the llvm-commits
mailing list