Skip to content

Commit 6049c0d

Browse files
committed
fixup! Rename "Replace" vector to "Worklist"
1 parent 53938d1 commit 6049c0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/CodeGen/ExpandFp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ static void expandIToFP(Instruction *IToFP) {
917917
IToFP->eraseFromParent();
918918
}
919919

920-
static void scalarize(Instruction *I, SmallVectorImpl<Instruction *> &Replace) {
920+
static void scalarize(Instruction *I, SmallVectorImpl<Instruction *> &Worklist) {
921921
VectorType *VTy = cast<FixedVectorType>(I->getType());
922922

923923
IRBuilder<> Builder(I);
@@ -938,7 +938,7 @@ static void scalarize(Instruction *I, SmallVectorImpl<Instruction *> &Replace) {
938938
Result = Builder.CreateInsertElement(Result, NewOp, Idx);
939939
if (auto *ScalarizedI = dyn_cast<Instruction>(NewOp)) {
940940
ScalarizedI->copyIRFlags(I, true);
941-
Replace.push_back(ScalarizedI);
941+
Worklist.push_back(ScalarizedI);
942942
}
943943
}
944944

0 commit comments

Comments
 (0)