[llvm] r282873 - [AMDGPU] Do not run scalar optimization passes at "-O0"
Konstantin Zhuravlyov via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 30 09:39:25 PDT 2016
Author: kzhuravl
Date: Fri Sep 30 11:39:24 2016
New Revision: 282873
URL: http://llvm.org/viewvc/llvm-project?rev=282873&view=rev
Log:
[AMDGPU] Do not run scalar optimization passes at "-O0"
Differential Revision: https://reviews.llvm.org/D25055
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp?rev=282873&r1=282872&r2=282873&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp Fri Sep 30 11:39:24 2016
@@ -395,9 +395,9 @@ void AMDGPUPassConfig::addIRPasses() {
if (EnableSROA)
addPass(createSROAPass());
- }
- addStraightLineScalarOptimizationPasses();
+ addStraightLineScalarOptimizationPasses();
+ }
TargetPassConfig::addIRPasses();
More information about the llvm-commits
mailing list