[llvm] [SLPVectorizer] Use accurate cost for external users of resize shuffles (PR #137419)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 11 03:25:46 PDT 2025


================
@@ -46,11 +46,11 @@ define void @test(float %a) {
 ; CHECK-LABEL: @test(
 ; CHECK-NEXT:  entry:
 ; CHECK-NEXT:    [[TMP0:%.*]] = insertelement <2 x float> poison, float [[A:%.*]], i32 0
-; CHECK-NEXT:    [[SHUFFLE:%.*]] = shufflevector <2 x float> [[TMP0]], <2 x float> poison, <2 x i32> zeroinitializer
+; CHECK-NEXT:    [[TMP1:%.*]] = shufflevector <2 x float> [[TMP0]], <2 x float> poison, <2 x i32> zeroinitializer
----------------
alexey-bataev wrote:

Restore original file

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


More information about the llvm-commits mailing list