mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2025-01-13 09:50:06 +00:00
Remove code sinking for -O. (#2340)
Community feedback says it is not generaly benificial, so we will remove it from the standard optimization set.
This commit is contained in:
parent
98c67d3850
commit
9ab1c0ddd0
@ -182,8 +182,7 @@ Optimizer& Optimizer::RegisterPerformancePasses() {
|
||||
.RegisterPass(CreateRedundancyEliminationPass())
|
||||
.RegisterPass(CreateDeadBranchElimPass())
|
||||
.RegisterPass(CreateBlockMergePass())
|
||||
.RegisterPass(CreateSimplificationPass())
|
||||
.RegisterPass(CreateCodeSinkingPass());
|
||||
.RegisterPass(CreateSimplificationPass());
|
||||
// Currently exposing driver bugs resulting in crashes (#946)
|
||||
// .RegisterPass(CreateCommonUniformElimPass())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user