forked from OSchip/llvm-project
AMDGPU: Remove redundant opt level check
addOptimizedRegAlloc isn't used for -O0 already. llvm-svn: 310275
This commit is contained in:
parent
3db456820d
commit
9d288e69f5
|
@ -799,8 +799,7 @@ void GCNPassConfig::addFastRegAlloc(FunctionPass *RegAllocPass) {
|
|||
}
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue