forked from OSchip/llvm-project
[AMDGPU] Do not run scalar optimization passes at "-O0"
Differential Revision: https://reviews.llvm.org/D25055 llvm-svn: 282873
This commit is contained in:
parent
2af93490fb
commit
4658e5f7b0
|
@ -395,9 +395,9 @@ void AMDGPUPassConfig::addIRPasses() {
|
||||||
|
|
||||||
if (EnableSROA)
|
if (EnableSROA)
|
||||||
addPass(createSROAPass());
|
addPass(createSROAPass());
|
||||||
}
|
|
||||||
|
|
||||||
addStraightLineScalarOptimizationPasses();
|
addStraightLineScalarOptimizationPasses();
|
||||||
|
}
|
||||||
|
|
||||||
TargetPassConfig::addIRPasses();
|
TargetPassConfig::addIRPasses();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue