Skip to content

Commit 8f4c9fb

Browse files
abidhgithub-actions[bot]
authored andcommitted
Automerge: 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 llvm/llvm-project#148284
2 parents 7bf8c24 + 45fa0b2 commit 8f4c9fb

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)