[llvm] [SLP][NFC]Update test by removing attrs and replacing undefs, NFC (PR #213985)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 4 08:33:28 PDT 2026


https://github.com/alexey-bataev created https://github.com/llvm/llvm-project/pull/213985

None

>From ca6883c94be0455adcb178a5c1f5c7b2935ea6b7 Mon Sep 17 00:00:00 2001
From: Alexey Bataev <a.bataev at outlook.com>
Date: Tue, 4 Aug 2026 08:33:14 -0700
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
 =?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Created using spr 1.3.7
---
 .../SLPVectorizer/X86/reused-mask-with-poison-index.ll    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/llvm/test/Transforms/SLPVectorizer/X86/reused-mask-with-poison-index.ll b/llvm/test/Transforms/SLPVectorizer/X86/reused-mask-with-poison-index.ll
index b36e6e649b687..f2efde45669c5 100644
--- a/llvm/test/Transforms/SLPVectorizer/X86/reused-mask-with-poison-index.ll
+++ b/llvm/test/Transforms/SLPVectorizer/X86/reused-mask-with-poison-index.ll
@@ -1,8 +1,8 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
 ; RUN: opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux < %s | FileCheck %s
 
-define fastcc i32 @test(ptr %0, <2 x float> %1, i1 %2, float %3, float %4) {
-; CHECK-LABEL: define fastcc i32 @test(
+define i32 @test(ptr %0, <2 x float> %1, i1 %2, float %3, float %4) {
+; CHECK-LABEL: define i32 @test(
 ; CHECK-SAME: ptr [[TMP0:%.*]], <2 x float> [[TMP1:%.*]], i1 [[TMP2:%.*]], float [[TMP3:%.*]], float [[TMP4:%.*]]) {
 ; CHECK-NEXT:    [[TMP6:%.*]] = extractelement <2 x float> [[TMP1]], i64 0
 ; CHECK-NEXT:    [[TMP7:%.*]] = extractelement <2 x float> [[TMP1]], i64 1
@@ -16,7 +16,7 @@ define fastcc i32 @test(ptr %0, <2 x float> %1, i1 %2, float %3, float %4) {
 ; CHECK-NEXT:    [[TMP14:%.*]] = phi float [ 0.000000e+00, [[TMP5]] ], [ [[TMP63:%.*]], %[[TMP56]] ]
 ; CHECK-NEXT:    [[TMP17:%.*]] = phi float [ 0.000000e+00, [[TMP5]] ], [ [[TMP64:%.*]], %[[TMP56]] ]
 ; CHECK-NEXT:    [[TMP16:%.*]] = phi float [ 0.000000e+00, [[TMP5]] ], [ [[TMP65:%.*]], %[[TMP56]] ]
-; CHECK-NEXT:    [[TMP15:%.*]] = phi float [ undef, [[TMP5]] ], [ [[TMP66:%.*]], %[[TMP56]] ]
+; CHECK-NEXT:    [[TMP15:%.*]] = phi float [ 1.000000e+00, [[TMP5]] ], [ [[TMP66:%.*]], %[[TMP56]] ]
 ; CHECK-NEXT:    [[TMP18:%.*]] = phi float [ 0.000000e+00, [[TMP5]] ], [ [[TMP67:%.*]], %[[TMP56]] ]
 ; CHECK-NEXT:    [[TMP19:%.*]] = phi float [ [[TMP4]], [[TMP5]] ], [ [[TMP68:%.*]], %[[TMP56]] ]
 ; CHECK-NEXT:    [[TMP20:%.*]] = phi float [ [[TMP4]], [[TMP5]] ], [ [[TMP69:%.*]], %[[TMP56]] ]
@@ -102,7 +102,7 @@ define fastcc i32 @test(ptr %0, <2 x float> %1, i1 %2, float %3, float %4) {
   %16 = phi float [ 0.000000e+00, %5 ], [ %66, %57 ]
   %17 = phi float [ 0.000000e+00, %5 ], [ %67, %57 ]
   %18 = phi float [ 0.000000e+00, %5 ], [ %68, %57 ]
-  %19 = phi float [ undef, %5 ], [ %69, %57 ]
+  %19 = phi float [ 1.000000e+00, %5 ], [ %69, %57 ]
   %20 = phi float [ 0.000000e+00, %5 ], [ %70, %57 ]
   %21 = phi float [ 0.000000e+00, %5 ], [ %71, %57 ]
   %22 = phi float [ %4, %5 ], [ %72, %57 ]



More information about the llvm-commits mailing list