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 0d313ee commit 3ab1481Copy full SHA for 3ab1481
llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
@@ -1987,7 +1987,7 @@ bool AMDGPUCodeGenPrepareImpl::visitPHINode(PHINode &I) {
1987
for (VectorSlice &S : Slices) {
1988
// We need to reset the build on each iteration, because getSlicedVal may
1989
// have inserted something into I's BB.
1990
- B.SetInsertPoint(I.getParent()->getFirstNonPHI());
+ B.SetInsertPoint(I.getParent()->getFirstNonPHIIt());
1991
S.NewPHI = B.CreatePHI(S.Ty, I.getNumIncomingValues());
1992
1993
for (const auto &[Idx, BB] : enumerate(I.blocks())) {
0 commit comments