Skip to content

Commit 989dd75

Browse files
committed
!fixup move applyMetadata;
1 parent 5252ec1 commit 989dd75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2344,6 +2344,7 @@ void InnerLoopVectorizer::scalarizeInstruction(const Instruction *Instr,
23442344
}
23452345

23462346
RepRecipe->applyFlags(*Cloned);
2347+
RepRecipe->applyMetadata(*Cloned);
23472348

23482349
if (auto DL = RepRecipe->getDebugLoc())
23492350
State.setDebugLocFrom(DL);
@@ -2357,7 +2358,6 @@ void InnerLoopVectorizer::scalarizeInstruction(const Instruction *Instr,
23572358
InputLane = VPLane::getFirstLane();
23582359
Cloned->setOperand(I.index(), State.get(Operand, InputLane));
23592360
}
2360-
RepRecipe->applyMetadata(*Cloned);
23612361

23622362
// Place the cloned scalar in the new loop.
23632363
State.Builder.Insert(Cloned);

0 commit comments

Comments
 (0)