[llvm] [LV] Add initial support for vectorizing literal struct return values (PR #109833)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 4 14:26:06 PST 2024
================
@@ -9607,7 +9624,7 @@ void VPReplicateRecipe::execute(VPTransformState &State) {
VectorType::get(UI->getType(), State.VF));
State.set(this, Poison);
}
- State.packScalarIntoVectorValue(this, *State.Lane);
+ State.packScalarIntoWideValue(this, *State.Lane);
----------------
fhahn wrote:
Yep I think the potential issue @david-arm mentioned is similar to having vector functions that return multiple results as interleaved vector for example, where we lose some flexibility with the current schema in this patch.
https://github.com/llvm/llvm-project/pull/109833
More information about the llvm-commits
mailing list