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.

llvm-svn: 231324
This commit is contained in:
Eric Christopher 2015-03-05 00:28:55 +00:00
parent 63b44882ef
commit 385f4b36d8
1 changed files with 1 additions and 3 deletions

View File

@ -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