Skip to content

Commit 45fa0b2

Browse files
authored
Revert "[OMPIRBuilder] Don't use invalid debug loc in task proxy function." (#148728)
There is a sanitizer fail in CI after this which I need to investigate. Reverting for now. Reverts #148284
1 parent 40ceaf1 commit 45fa0b2

File tree

2 files changed

+0
-51
lines changed

2 files changed

+0
-51
lines changed

llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7229,11 +7229,9 @@ static Function *emitTargetTaskProxyFunction(
72297229

72307230
bool HasShareds = SharedArgsOperandNo > 0;
72317231
bool HasOffloadingArrays = NumOffloadingArrays > 0;
7232-
IRBuilder<>::InsertPointGuard IPG(Builder);
72337232
BasicBlock *EntryBB =
72347233
BasicBlock::Create(Builder.getContext(), "entry", ProxyFn);
72357234
Builder.SetInsertPoint(EntryBB);
7236-
Builder.SetCurrentDebugLocation(llvm::DebugLoc());
72377235

72387236
SmallVector<Value *> KernelLaunchArgs;
72397237
KernelLaunchArgs.reserve(StaleCI->arg_size());

mlir/test/Target/LLVMIR/omptarget-debug-target-task.mlir

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)