[llvm-commits] CVS: llvm/lib/Target/ARM/ARMTargetMachine.cpp
Rafael Espindola
rafael.espindola at gmail.com
Thu Nov 2 17:39:40 PST 2006
Changes in directory llvm/lib/Target/ARM:
ARMTargetMachine.cpp updated: 1.11 -> 1.12
---
Log message:
add createCFGSimplificationPass to ARMTargetMachine::addInstSelector
---
Diffs of the changes: (+2 -0)
ARMTargetMachine.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/Target/ARM/ARMTargetMachine.cpp
diff -u llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.11 llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.12
--- llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.11 Mon Oct 9 09:12:15 2006
+++ llvm/lib/Target/ARM/ARMTargetMachine.cpp Thu Nov 2 19:39:25 2006
@@ -18,6 +18,7 @@
#include "llvm/Module.h"
#include "llvm/PassManager.h"
#include "llvm/Target/TargetMachineRegistry.h"
+#include "llvm/Transforms/Scalar.h"
using namespace llvm;
namespace {
@@ -51,6 +52,7 @@
// Pass Pipeline Configuration
bool ARMTargetMachine::addInstSelector(FunctionPassManager &PM, bool Fast) {
+ PM.add(createCFGSimplificationPass());
PM.add(createARMISelDag(*this));
return false;
}
More information about the llvm-commits
mailing list