aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-08-31 09:05:06 +0000
committerDuncan Sands <baldrick@free.fr>2010-08-31 09:05:06 +0000
commitd2c50213fa4988cb8c70c1ca24a794b56cea116a (patch)
tree37f054efac3531a71ecd2082f021745b8ca3ff19 /lib/CodeGen/LLVMTargetMachine.cpp
parent5a2e4d83b41d4519f33486dfaec106bf94667c73 (diff)
downloadexternal_llvm-d2c50213fa4988cb8c70c1ca24a794b56cea116a.zip
external_llvm-d2c50213fa4988cb8c70c1ca24a794b56cea116a.tar.gz
external_llvm-d2c50213fa4988cb8c70c1ca24a794b56cea116a.tar.bz2
Stop using the dom frontier in DwarfEHPrepare by not promoting alloca's
any more. I plan to reimplement alloca promotion using SSAUpdater later. It looks like Bill's URoR logic really always needs domtree, so the pass now always asks for domtree info. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--lib/CodeGen/LLVMTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp
index 80dbb98..3603802 100644
--- a/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/lib/CodeGen/LLVMTargetMachine.cpp
@@ -289,7 +289,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM,
PM.add(createSjLjEHPass(getTargetLowering()));
// FALLTHROUGH
case ExceptionHandling::Dwarf:
- PM.add(createDwarfEHPass(this, OptLevel==CodeGenOpt::None));
+ PM.add(createDwarfEHPass(this));
break;
case ExceptionHandling::None:
PM.add(createLowerInvokePass(getTargetLowering()));