We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff22372 commit 83b5d72Copy full SHA for 83b5d72
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -177,6 +177,8 @@ static bool sinkScalarOperands(VPlan &Plan) {
177
continue;
178
VPSingleDefRecipe *Clone;
179
if (isa<VPReplicateRecipe>(SinkCandidate)) {
180
+ // TODO: Handle converting to uniform recipes as separate transform,
181
+ // then cloning should be sufficient here.
182
Instruction *I = SinkCandidate->getUnderlyingInstr();
183
Clone = new VPReplicateRecipe(I, SinkCandidate->operands(), true);
184
// TODO: add ".cloned" suffix to name of Clone's VPValue.
0 commit comments