Skip to content

Commit 17a6939

Browse files
committed
NewSel the transformed result append to Worklist
1 parent 4a551ed commit 17a6939

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,6 +1954,7 @@ bool VectorCombine::foldShuffleOfSelects(Instruction &I) {
19541954
if (isa<FPMathOperator>(NewSel))
19551955
cast<Instruction>(NewSel)->setFastMathFlags(Select0->getFastMathFlags());
19561956

1957+
Worklist.pushValue(NewSel);
19571958
replaceValue(I, *NewSel);
19581959
return true;
19591960
}

0 commit comments

Comments
 (0)