You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you know where the shufflevector <1 x i32> %ins, <1 x i32> poison, <4 x i32> zeroinitializer comes from? I don't think I would have expected the 1x vector types.
Shuffles that change-type have never been very well supported in the cost-model in the past, they are getting better over time.
From rust-lang/rust#137407:
VectorCombine(+InstCombine) perform this transform (https://llvm.godbolt.org/z/veW5oG6Gx):
Resulting in this codegen (https://llvm.godbolt.org/z/Px83GGq7Y):
The dup has been replaced by element-wise movs.
The text was updated successfully, but these errors were encountered: