Skip to content

Commit 83b5d72

Browse files
committed
!fixup add note re cloning.
1 parent ff22372 commit 83b5d72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ static bool sinkScalarOperands(VPlan &Plan) {
177177
continue;
178178
VPSingleDefRecipe *Clone;
179179
if (isa<VPReplicateRecipe>(SinkCandidate)) {
180+
// TODO: Handle converting to uniform recipes as separate transform,
181+
// then cloning should be sufficient here.
180182
Instruction *I = SinkCandidate->getUnderlyingInstr();
181183
Clone = new VPReplicateRecipe(I, SinkCandidate->operands(), true);
182184
// TODO: add ".cloned" suffix to name of Clone's VPValue.

0 commit comments

Comments
 (0)