Skip to content

Commit c2161a2

Browse files
Fix deprecated function call
1 parent c5e82b7 commit c2161a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1948,7 +1948,7 @@ bool InstrLowerer::emitDataDelayedInit(
19481948

19491949
for (auto *Kernel : Kernels) {
19501950
auto &KernelEntry = Kernel->getEntryBlock();
1951-
IRB.SetInsertPoint(KernelEntry.getFirstNonPHI());
1951+
IRB.SetInsertPoint(KernelEntry.getFirstNonPHIIt());
19521952
IRB.CreateCall(DelayedInitF);
19531953
}
19541954

0 commit comments

Comments
 (0)