[llvm] [LV][NFC] Fix mve-reg-pressure-spills.ll test (PR #202291)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 01:46:35 PDT 2026
https://github.com/david-arm created https://github.com/llvm/llvm-project/pull/202291
None
>From 8d28401cd16d77c3ebcef71acb82950082d42450 Mon Sep 17 00:00:00 2001
From: David Sherwood <david.sherwood at arm.com>
Date: Mon, 8 Jun 2026 08:44:39 +0000
Subject: [PATCH] [LV][NFC] Fix mve-reg-pressure-spills.ll test
---
.../LoopVectorize/ARM/mve-reg-pressure-spills.ll | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/llvm/test/Transforms/LoopVectorize/ARM/mve-reg-pressure-spills.ll b/llvm/test/Transforms/LoopVectorize/ARM/mve-reg-pressure-spills.ll
index 67db96c569a21..326e7ddcd0647 100644
--- a/llvm/test/Transforms/LoopVectorize/ARM/mve-reg-pressure-spills.ll
+++ b/llvm/test/Transforms/LoopVectorize/ARM/mve-reg-pressure-spills.ll
@@ -11,13 +11,13 @@ target triple = "thumbv8.1m.main-unknown-none-eabihf"
define void @spills_not_profitable(ptr %in1, ptr %in2, ptr %out, i32 %n) {
; CHECK-LABEL: LV: Checking a loop in 'spills_not_profitable'
; CHECK: LV: Scalar loop costs: 86
-; CHECK-NOPRESSURE: Cost for VF 2: 394 (Estimated cost per lane: 197.0)
-; CHECK-NOPRESSURE: Cost for VF 4: 338 (Estimated cost per lane: 84.5)
+; CHECK-NOPRESSURE: Cost for VF 2: 394 (Estimated cost per lane: 197.
+; CHECK-NOPRESSURE: Cost for VF 4: 338 (Estimated cost per lane: 84.
; CHECK-NOPRESSURE: LV: Selecting VF: 4
; CHECK-PRESSURE: LV(REG): Cost of 50 from 25 spills of Generic::VectorRC
-; CHECK-PRESSURE-NEXT: Cost for VF 2: 444 (Estimated cost per lane: 222.0)
+; CHECK-PRESSURE-NEXT: Cost for VF 2: 444 (Estimated cost per lane: 222.
; CHECK-PRESSURE: LV(REG): Cost of 50 from 25 spills of Generic::VectorRC
-; CHECK-PRESSURE-NEXT: Cost for VF 4: 388 (Estimated cost per lane: 97.0)
+; CHECK-PRESSURE-NEXT: Cost for VF 4: 388 (Estimated cost per lane: 97.
; CHECK-PRESSURE: LV: Selecting VF: 1
entry:
%cmp = icmp eq i32 %n, 0
@@ -172,12 +172,12 @@ exit:
define void @spills_profitable(ptr %in1, ptr %in2, ptr %out, i32 %n, i32 %m) {
; CHECK-LABEL: LV: Checking a loop in 'spills_profitable'
; CHECK: LV: Scalar loop costs: 54
-; CHECK-NOPRESSURE: Cost for VF 2: 1535 (Estimated cost per lane: 767.5)
-; CHECK-NOPRESSURE: Cost for VF 4: 43 (Estimated cost per lane: 10.8)
+; CHECK-NOPRESSURE: Cost for VF 2: 1535 (Estimated cost per lane: 767.
+; CHECK-NOPRESSURE: Cost for VF 4: 43 (Estimated cost per lane: 10.
; CHECK-PRESSURE: LV(REG): Cost of 4 from 2 spills of Generic::ScalarRC
-; CHECK-PRESSURE-NEXT: Cost for VF 2: 1539 (Estimated cost per lane: 769.5)
+; CHECK-PRESSURE-NEXT: Cost for VF 2: 1539 (Estimated cost per lane: 769.
; CHECK-PRESSURE: LV(REG): Cost of 6 from 3 spills of Generic::VectorRC
-; CHECK-PRESSURE-NEXT: Cost for VF 4: 49 (Estimated cost per lane: 12.2)
+; CHECK-PRESSURE-NEXT: Cost for VF 4: 49 (Estimated cost per lane: 12.
; CHECK: LV: Selecting VF: 4
entry:
%cmp = icmp eq i32 %n, 0
More information about the llvm-commits
mailing list