mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
AMDGPU: Remove redundant opt level check
addOptimizedRegAlloc isn't used for -O0 already. llvm-svn: 310275
This commit is contained in:
parent
e91636a202
commit
000f53d4f0
@ -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
Block a user