aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/BasicBlock.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2025-06-11 16:35:55 +0100
committerJeremy Morse <jeremy.morse@sony.com>2025-06-11 17:35:29 +0100
commit459475020aeff15d0f886ab99c59d66b744d3e17 (patch)
treed16e4a84e71cc75e3183cb6d0a68a86453722d84 /llvm/lib/IR/BasicBlock.cpp
parentfe7bf4b90b1a835418bddd2b2aa63b4977a9f6d2 (diff)
downloadllvm-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.cpp1
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);