diff options
| author | Duncan Sands <baldrick@free.fr> | 2010-08-31 09:05:06 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2010-08-31 09:05:06 +0000 |
| commit | bb8a3f9f6da16302358394889ad44249d942f4a6 (patch) | |
| tree | 012d4b59b14fe6cac482936834373716a4e8f266 /llvm/lib/CodeGen/LLVMTargetMachine.cpp | |
| parent | 68984ede5c564b9b9ad75e1d8c01e244c1f1e5fe (diff) | |
| download | bcm5719-llvm-bb8a3f9f6da16302358394889ad44249d942f4a6.tar.gz bcm5719-llvm-bb8a3f9f6da16302358394889ad44249d942f4a6.zip | |
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.
llvm-svn: 112597
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index 80dbb988df6..36038027b25 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/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())); |

