addOptimizedRegAlloc isn't used for -O0 already.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310275
91177308-0d34-0410-b5e6-
96231b3b80d8
}
void GCNPassConfig::addOptimizedRegAlloc(FunctionPass *RegAllocPass) {
- if (getOptLevel() > CodeGenOpt::None)
- insertPass(&MachineSchedulerID, &SIOptimizeExecMaskingPreRAID);
+ insertPass(&MachineSchedulerID, &SIOptimizeExecMaskingPreRAID);
// This must be run immediately after phi elimination and before
// TwoAddressInstructions, otherwise the processing of the tied operand of