diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2025-06-12 11:51:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-12 11:51:58 +0100 |
commit | 97ac6483aaead89897d9bda8a12f1f4c11fad621 (patch) | |
tree | faad9132e247263838004084e3202ba8da29a678 /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp | |
parent | fe28ea37b640ea4842583df3b89e08877220fb8e (diff) | |
download | llvm-97ac6483aaead89897d9bda8a12f1f4c11fad621.zip llvm-97ac6483aaead89897d9bda8a12f1f4c11fad621.tar.gz llvm-97ac6483aaead89897d9bda8a12f1f4c11fad621.tar.bz2 |
[DebugInfo][RemoveDIs] Delete debug-info-format flag (#143746)
This flag was used to let us incrementally introduce debug records
into LLVM, however everything is now using records. It serves no
purpose now, so delete it.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopRotationUtils.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp b/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp index 693b1f5..6b42503 100644 --- a/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp +++ b/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp @@ -634,8 +634,7 @@ bool LoopRotate::rotateLoop(Loop *L, bool SimplifiedLatch) { // memory access in coroutines. !Inst->getFunction()->isPresplitCoroutine()) { - if (LoopEntryBranch->getParent()->IsNewDbgInfoFormat && - !NextDbgInsts.empty()) { + if (!NextDbgInsts.empty()) { auto DbgValueRange = LoopEntryBranch->cloneDebugInfoFrom(Inst, NextDbgInsts.begin()); RemapDbgRecordRange(M, DbgValueRange, ValueMap, @@ -664,8 +663,7 @@ bool LoopRotate::rotateLoop(Loop *L, bool SimplifiedLatch) { ++NumInstrsDuplicated; - if (LoopEntryBranch->getParent()->IsNewDbgInfoFormat && - !NextDbgInsts.empty()) { + if (!NextDbgInsts.empty()) { auto Range = C->cloneDebugInfoFrom(Inst, NextDbgInsts.begin()); RemapDbgRecordRange(M, Range, ValueMap, RF_NoModuleLevelChanges | RF_IgnoreMissingLocals); |