[llvm] [LV] Ignore some costs when loop gets fully unrolled (PR #106699)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 13:10:20 PST 2024


================
@@ -0,0 +1,38 @@
+; REQUIRES: asserts
+; RUN: opt < %s -mcpu=neoverse-v2 -passes=loop-vectorize -debug-only=loop-vectorize -disable-output -S 2>&1 | FileCheck %s
+
+target triple="aarch64--linux-gnu"
+
+define i64 @test(ptr %a, ptr %b) #0 {
----------------
fhahn wrote:

Would be good to add a brief comment to say what is expected (not using scalable VF as it is we only need a single vector iteration with fixed width vector?)

https://github.com/llvm/llvm-project/pull/106699


More information about the llvm-commits mailing list