From: Eric Christopher Date: Thu, 5 Mar 2015 00:28:55 +0000 (+0000) Subject: Remove the conditional addition of the execution dependency fixing X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=061096482f16e6cd40e3254ba2ce390e9b816e1f;p=oota-llvm.git Remove the conditional addition of the execution dependency fixing pass from the ARM backend as the pass itself will detect any use of the appropriate register class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231324 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMTargetMachine.cpp b/lib/Target/ARM/ARMTargetMachine.cpp index 34f7f78154c..e3e6228206e 100644 --- a/lib/Target/ARM/ARMTargetMachine.cpp +++ b/lib/Target/ARM/ARMTargetMachine.cpp @@ -358,9 +358,7 @@ void ARMPassConfig::addPreRegAlloc() { void ARMPassConfig::addPreSched2() { if (getOptLevel() != CodeGenOpt::None) { addPass(createARMLoadStoreOptimizationPass()); - - if (getARMSubtarget().hasNEON()) - addPass(createExecutionDependencyFixPass(&ARM::DPRRegClass)); + addPass(createExecutionDependencyFixPass(&ARM::DPRRegClass)); } // Expand some pseudo instructions into multiple instructions to allow