[PATCH] D25055: [AMDGPU] Do not run scalar optimization passes at "-O0"
Konstantin Zhuravlyov via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 28 16:22:46 PDT 2016
kzhuravl created this revision.
kzhuravl added reviewers: tstellarAMD, arsenm.
kzhuravl added a subscriber: llvm-commits.
Herald added subscribers: tony-tye, yaxunl, nhaehnle, wdng, kzhuravl, arsenm.
https://reviews.llvm.org/D25055
Files:
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Index: lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
===================================================================
--- lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+++ lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
@@ -393,9 +393,9 @@
if (EnableSROA)
addPass(createSROAPass());
- }
- addStraightLineScalarOptimizationPasses();
+ addStraightLineScalarOptimizationPasses();
+ }
TargetPassConfig::addIRPasses();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25055.72926.patch
Type: text/x-patch
Size: 432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160928/b8ff47b6/attachment.bin>
More information about the llvm-commits
mailing list