aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/LegacyPassManager.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2025-06-11 11:23:24 +0100
committerGitHub <noreply@github.com>2025-06-11 11:23:24 +0100
commit354cfba5209eed5ea6bafb6a3e69e65148c4e25d (patch)
tree77547da4e90fc24d5d3252be69add48038648be7 /llvm/lib/IR/LegacyPassManager.cpp
parentddef9ce8dad611c2fef172f3b08c5c98235a3b41 (diff)
downloadllvm-354cfba5209eed5ea6bafb6a3e69e65148c4e25d.zip
llvm-354cfba5209eed5ea6bafb6a3e69e65148c4e25d.tar.gz
llvm-354cfba5209eed5ea6bafb6a3e69e65148c4e25d.tar.bz2
[DebugInfo][RemoveDIs] Remove scoped-dbg-format-setter (#143450)
This was a utility for flipping between intrinsic and debug record mode -- we don't need it any more. The "IsNewDbgInfoFormat" should be true everywhere.
Diffstat (limited to 'llvm/lib/IR/LegacyPassManager.cpp')
-rw-r--r--llvm/lib/IR/LegacyPassManager.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/IR/LegacyPassManager.cpp b/llvm/lib/IR/LegacyPassManager.cpp
index fd69e30..c8f1606 100644
--- a/llvm/lib/IR/LegacyPassManager.cpp
+++ b/llvm/lib/IR/LegacyPassManager.cpp
@@ -526,11 +526,6 @@ bool PassManagerImpl::run(Module &M) {
dumpArguments();
dumpPasses();
- // RemoveDIs: if a command line flag is given, convert to the
- // DbgVariableRecord representation of debug-info for the duration of these
- // passes.
- ScopedDbgInfoFormatSetter FormatSetter(M, true);
-
for (ImmutablePass *ImPass : getImmutablePasses())
Changed |= ImPass->doInitialization(M);