aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMTargetMachine.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2010-04-07 18:23:27 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2010-04-07 18:23:27 +0000
commita7a3476e84d08173b6bead2105e07675bc643cb2 (patch)
tree4c92fc6bb9fc6cf45e5124fe2acf8f82d11773d9 /lib/Target/ARM/ARMTargetMachine.cpp
parentf6b0480857f2e43b7be9f72fdd059f6adbd1a3e0 (diff)
downloadexternal_llvm-a7a3476e84d08173b6bead2105e07675bc643cb2.zip
external_llvm-a7a3476e84d08173b6bead2105e07675bc643cb2.tar.gz
external_llvm-a7a3476e84d08173b6bead2105e07675bc643cb2.tar.bz2
Remove late ARM codegen optimization pass committed by accident.
It is not ready for public yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100673 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMTargetMachine.cpp')
-rw-r--r--lib/Target/ARM/ARMTargetMachine.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Target/ARM/ARMTargetMachine.cpp b/lib/Target/ARM/ARMTargetMachine.cpp
index f769702..662e61e 100644
--- a/lib/Target/ARM/ARMTargetMachine.cpp
+++ b/lib/Target/ARM/ARMTargetMachine.cpp
@@ -79,15 +79,9 @@ ThumbTargetMachine::ThumbTargetMachine(const Target &T, const std::string &TT,
TLInfo(*this) {
}
-// Pass Pipeline Configuration
-bool ARMBaseTargetMachine::addPreISel(PassManagerBase &PM,
- CodeGenOpt::Level OptLevel) {
- if (OptLevel != CodeGenOpt::None)
- PM.add(createARMGlobalMergePass(getTargetLowering()));
- return false;
-}
+// Pass Pipeline Configuration
bool ARMBaseTargetMachine::addInstSelector(PassManagerBase &PM,
CodeGenOpt::Level OptLevel) {
PM.add(createARMISelDag(*this, OptLevel));