We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c24729e commit 7b8b6daCopy full SHA for 7b8b6da
IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp
@@ -1411,6 +1411,9 @@ void OptimizeIR(CodeGenContext *const pContext) {
1411
if (IGC_IS_FLAG_ENABLED(OCLEnableReassociate) && pContext->type == ShaderType::OPENCL_SHADER) {
1412
mpm.add(createReassociatePass());
1413
}
1414
+ if (pContext->type == ShaderType::COMPUTE_SHADER) {
1415
+ mpm.add(llvm::createReassociatePass());
1416
+ }
1417
1418
mpm.add(createPromoteConstantStructsPass());
1419
0 commit comments