[llvm] [VPlan] Unroll VPReplicateRecipe by VF. (PR #142433)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 19 03:35:36 PDT 2025
================
@@ -79,20 +79,20 @@ define void @struct_return_f32_replicate(ptr noalias %in, ptr noalias writeonly
; CHECK: [[CALL_LANE_1:%.*]] = tail call { float, float } @foo(float {{%.*}})
; // Lane 0
; CHECK: [[A_0:%.*]] = extractvalue { float, float } [[CALL_LANE_0]], 0
-; CHECK: [[VEC_A_0:%.*]] = insertelement <2 x float> poison, float [[A_0]], i32 0
+; CHECK: [[VEC_A_0:%.*]] = insertelement <2 x float> poison, float [[A_0]], i64 0
----------------
ayalz wrote:
Are there other BuildStructVector tests? Here number of fields = VF = 2.
`@struct_return_i32_three_results_widen` below works w/o any change, because it works w/o replication?
https://github.com/llvm/llvm-project/pull/142433
More information about the llvm-commits
mailing list