[llvm] 39dc841 - [LV][NFC] Fix force-scalable-vectorization-always.ll (#201580)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 4 06:44:46 PDT 2026
Author: David Sherwood
Date: 2026-06-04T14:44:41+01:00
New Revision: 39dc8415bf0e3c444e5f67dfdd400bd4fb2062f3
URL: https://github.com/llvm/llvm-project/commit/39dc8415bf0e3c444e5f67dfdd400bd4fb2062f3
DIFF: https://github.com/llvm/llvm-project/commit/39dc8415bf0e3c444e5f67dfdd400bd4fb2062f3.diff
LOG: [LV][NFC] Fix force-scalable-vectorization-always.ll (#201580)
Fixes a buildbot failure related to FP rounding error in LV debug
output.
Added:
Modified:
llvm/test/Transforms/LoopVectorize/AArch64/force-scalable-vectorization-always.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/LoopVectorize/AArch64/force-scalable-vectorization-always.ll b/llvm/test/Transforms/LoopVectorize/AArch64/force-scalable-vectorization-always.ll
index fc4f233218a10..d3b1520cb8d25 100644
--- a/llvm/test/Transforms/LoopVectorize/AArch64/force-scalable-vectorization-always.ll
+++ b/llvm/test/Transforms/LoopVectorize/AArch64/force-scalable-vectorization-always.ll
@@ -1,4 +1,3 @@
-; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --filter "Checking a loop in" --filter "Cost for VF" --filter "Final VPlan for" --filter "Selecting VF:" --version 6
; RUN: opt -passes=loop-vectorize -enable-epilogue-vectorization=false -mattr=disable-maximize-scalable-bandwidth -scalable-vectorization=always -debug-only=loop-vectorize -disable-output %s 2>&1 | FileCheck %s
; REQUIRES: asserts
@@ -8,12 +7,12 @@ target triple = "aarch64"
; but that a scalable VF is still chosen (due to the `-scalable-vectorization=always` flag)
define i32 @cost_prefers_fixed_width_vf_but_force_scalable_vf(ptr noalias %dst, ptr noalias %src, i64 %n) "target-cpu"="neoverse-n2" {
; CHECK-LABEL: 'cost_prefers_fixed_width_vf_but_force_scalable_vf'
-; CHECK: Cost for VF 2: 12 (Estimated cost per lane: 6.0)
-; CHECK: Cost for VF 4: 8 (Estimated cost per lane: 2.0)
-; CHECK: Cost for VF 8: 10 (Estimated cost per lane: 1.2)
+; CHECK: Cost for VF 2: 12 (Estimated cost per lane: 6.
+; CHECK: Cost for VF 4: 8 (Estimated cost per lane: 2.
+; CHECK: Cost for VF 8: 10 (Estimated cost per lane: 1.
; CHECK: Cost for VF vscale x 1: Invalid (Estimated cost per lane: Invalid)
-; CHECK: Cost for VF vscale x 2: 9 (Estimated cost per lane: 4.5)
-; CHECK: Cost for VF vscale x 4: 8 (Estimated cost per lane: 2.0)
+; CHECK: Cost for VF vscale x 2: 9 (Estimated cost per lane: 4.
+; CHECK: Cost for VF vscale x 4: 8 (Estimated cost per lane: 2.
; CHECK: LV: Selecting VF: vscale x 4.
; CHECK: VPlan 'Final VPlan for VF={vscale x 1,vscale x 2,vscale x 4},UF={2}' {
;
@@ -40,8 +39,8 @@ exit:
; if we can't vectorize with SVE (in this case, because SVE is unavailable)
define i32 @no_sve_fallback_to_neon(ptr %src, i64 %n) "target-features"="+neon" {
; CHECK-LABEL: 'no_sve_fallback_to_neon'
-; CHECK: Cost for VF 2: 4 (Estimated cost per lane: 2.0)
-; CHECK: Cost for VF 4: 4 (Estimated cost per lane: 1.0)
+; CHECK: Cost for VF 2: 4 (Estimated cost per lane: 2.
+; CHECK: Cost for VF 4: 4 (Estimated cost per lane: 1.
; CHECK: LV: Selecting VF: 4.
; CHECK: VPlan 'Final VPlan for VF={2,4},UF={2}' {
;
More information about the llvm-commits
mailing list