summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-11-24 19:37:07 +0000
committerDevang Patel <dpatel@apple.com>2009-11-24 19:37:07 +0000
commit21c2e100baf6b29a7cba3a308c9fa66c2a08c5e1 (patch)
tree48603c39ffc43596f631b87ea3a483f96aed9634 /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parent6f2d25e441dd4d0d6057cdffb029e5559c4bf6ee (diff)
downloadbcm5719-llvm-21c2e100baf6b29a7cba3a308c9fa66c2a08c5e1.tar.gz
bcm5719-llvm-21c2e100baf6b29a7cba3a308c9fa66c2a08c5e1.zip
Remove DebugLabelFolder pass. It is not used by dwarf writer anymore.
llvm-svn: 89790
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--llvm/lib/CodeGen/LLVMTargetMachine.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
index 8800f22beb5..740c9508428 100644
--- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
@@ -349,10 +349,6 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM,
if (PrintGCInfo)
PM.add(createGCInfoPrinter(errs()));
- // Fold redundant debug labels.
- PM.add(createDebugLabelFoldingPass());
- printAndVerify(PM, "After DebugLabelFolding");
-
if (OptLevel != CodeGenOpt::None && !DisableCodePlace) {
PM.add(createCodePlacementOptPass());
printAndVerify(PM, "After CodePlacementOpt");
OpenPOWER on IntegriCloud