[llvm] [VPlan] Strip bad TODO in VPTransformState::get (NFC) (PR #166146)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 3 02:38:55 PST 2025
artagnon wrote:
> > I presume the point of that TODO is not that it should emit a VPInstruction::Broadcast at that point, but all single scalar values should be wrapped in a VPInstruction::Broadcast before execution. So VPTransformState::get should never have to emit a splat.
>
> Yep, that's the intention of the TODO
Should we create a new VPTransform to wrap single-scalars in broadcasts?
https://github.com/llvm/llvm-project/pull/166146
More information about the llvm-commits
mailing list