forked from OSchip/llvm-project
Revert r231324 "Remove the conditional addition of the execution dependency fixing"
See PR22799. llvm-svn: 231348
This commit is contained in:
parent
7a715dae05
commit
6d8e6d5ee4
|
@ -358,7 +358,9 @@ void ARMPassConfig::addPreRegAlloc() {
|
|||
void ARMPassConfig::addPreSched2() {
|
||||
if (getOptLevel() != CodeGenOpt::None) {
|
||||
addPass(createARMLoadStoreOptimizationPass());
|
||||
addPass(createExecutionDependencyFixPass(&ARM::DPRRegClass));
|
||||
|
||||
if (getARMSubtarget().hasNEON())
|
||||
addPass(createExecutionDependencyFixPass(&ARM::DPRRegClass));
|
||||
}
|
||||
|
||||
// Expand some pseudo instructions into multiple instructions to allow
|
||||
|
|
Loading…
Reference in New Issue