aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMTargetMachine.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2006-08-21 22:00:32 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2006-08-21 22:00:32 +0000
commit3c000bf817f90212c8e5585f7c1981e68ee393fc (patch)
treed7591062229ad28fedaa3faf624f3227a55a0ad9 /lib/Target/ARM/ARMTargetMachine.cpp
parent4a9df24ba8b30556a31efef37c9feadd2903f7d0 (diff)
initial support for select
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29802 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMTargetMachine.cpp')
-rw-r--r--lib/Target/ARM/ARMTargetMachine.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMTargetMachine.cpp b/lib/Target/ARM/ARMTargetMachine.cpp
index 1ed9292ccb..bd6664250c 100644
--- a/lib/Target/ARM/ARMTargetMachine.cpp
+++ b/lib/Target/ARM/ARMTargetMachine.cpp
@@ -61,6 +61,9 @@ bool ARMTargetMachine::addPassesToEmitFile(PassManager &PM, std::ostream &Out,
if (!Fast)
PM.add(createLoopStrengthReducePass());
+ if (!Fast)
+ PM.add(createCFGSimplificationPass());
+
// FIXME: Implement efficient support for garbage collection intrinsics.
PM.add(createLowerGCPass());