Skip to content

Commit 3ceddc7

Browse files
Fixing up IsCooperativeMatrix redirect
1 parent 519055b commit 3ceddc7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/opt/folding_rules.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,7 @@ FoldingRule ReassociateNestedGenericInt(spv::Op opcode) {
16671667
const analysis::Type* type =
16681668
context->get_type_mgr()->GetType(inst->type_id());
16691669

1670-
if (IsCooperativeMatrix(type)) {
1670+
if (type->IsCooperativeMatrix()) {
16711671
return false;
16721672
}
16731673

@@ -1742,7 +1742,7 @@ FoldingRule ReassociateNestedMulDivFloat() {
17421742
const analysis::Type* type =
17431743
context->get_type_mgr()->GetType(inst->type_id());
17441744

1745-
if (IsCooperativeMatrix(type)) {
1745+
if (type->IsCooperativeMatrix()) {
17461746
return false;
17471747
}
17481748

@@ -1891,7 +1891,7 @@ FoldingRule ReassociateNestedAddSub() {
18911891
const analysis::Type* type =
18921892
context->get_type_mgr()->GetType(inst->type_id());
18931893

1894-
if (IsCooperativeMatrix(type)) {
1894+
if (type->IsCooperativeMatrix()) {
18951895
return false;
18961896
}
18971897

0 commit comments

Comments
 (0)