diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2025-06-11 16:35:55 +0100 |
---|---|---|
committer | Jeremy Morse <jeremy.morse@sony.com> | 2025-06-11 17:35:29 +0100 |
commit | 459475020aeff15d0f886ab99c59d66b744d3e17 (patch) | |
tree | d16e4a84e71cc75e3183cb6d0a68a86453722d84 /llvm/lib/IR/BasicBlock.cpp | |
parent | fe7bf4b90b1a835418bddd2b2aa63b4977a9f6d2 (diff) | |
download | llvm-459475020aeff15d0f886ab99c59d66b744d3e17.zip llvm-459475020aeff15d0f886ab99c59d66b744d3e17.tar.gz llvm-459475020aeff15d0f886ab99c59d66b744d3e17.tar.bz2 |
Reapply 76197ea6f91f after removing an assertion
Specifically this is the assertion in BasicBlock.cpp. Now that we're not
examining or setting that flag consistently (because it'll be deleted in
about an hour) there's no need to keep this assertion.
Original commit title:
[DebugInfo][RemoveDIs] Remove some debug intrinsic-only codepaths (#143451)
Diffstat (limited to 'llvm/lib/IR/BasicBlock.cpp')
-rw-r--r-- | llvm/lib/IR/BasicBlock.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/IR/BasicBlock.cpp b/llvm/lib/IR/BasicBlock.cpp index f716e99..62a7531 100644 --- a/llvm/lib/IR/BasicBlock.cpp +++ b/llvm/lib/IR/BasicBlock.cpp @@ -60,7 +60,6 @@ void BasicBlock::convertToNewDbgValues() { // instruction. SmallVector<DbgRecord *, 4> DbgVarRecs; for (Instruction &I : make_early_inc_range(InstList)) { - assert(!I.DebugMarker && "DebugMarker already set on old-format instrs?"); if (DbgVariableIntrinsic *DVI = dyn_cast<DbgVariableIntrinsic>(&I)) { // Convert this dbg.value to a DbgVariableRecord. DbgVariableRecord *Value = new DbgVariableRecord(DVI); |