[llvm] [SLP][NFC]Update test by removing attrs and replacing undefs, NFC (PR #213985)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 4 08:34:10 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms
Author: Alexey Bataev (alexey-bataev)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/213985.diff
1 Files Affected:
- (modified) llvm/test/Transforms/SLPVectorizer/X86/reused-mask-with-poison-index.ll (+4-4)
``````````diff
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 ]
``````````
</details>
https://github.com/llvm/llvm-project/pull/213985
More information about the llvm-commits
mailing list