Skip to content

Commit 49e5ac2

Browse files
committed
Fix after merging
1 parent a2b3f31 commit 49e5ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/IPO/Instrumentor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ bool InstrumentorImpl::instrumentInstruction(Instruction &I,
211211
}
212212

213213
if (auto *IO = InstChoicesPOST.lookup(I.getOpcode())) {
214-
IIRB.IRB.SetInsertPoint(I.getNextNonDebugInstruction());
214+
IIRB.IRB.SetInsertPoint(I.getNextNode());
215215
ensureDbgLoc(IIRB.IRB);
216216
Changed |= bool(IO->instrument(IPtr, IConf, IIRB, ICaches));
217217
}

0 commit comments

Comments
 (0)