Skip to content

Commit 3027487

Browse files
simolltex3d
andauthored
Update lib/DxilValidation/DxilValidation.cpp
Co-authored-by: Tex Riddell <[email protected]>
1 parent 0166d20 commit 3027487

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/DxilValidation/DxilValidation.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,9 +1059,9 @@ static void ValidateImmOperandsForMatVecOps(CallInst *CI, DXIL::OpCode opcode,
10591059
ValidationRule::InstrLinalgMatrixShapeParamsAreConst);
10601060
}
10611061

1062-
ConstantInt *Ml = cast<ConstantInt>(MatrixLayout);
1063-
auto MlValue = Ml->getLimitedValue();
1064-
if (!CheckMatrixLayout(MlValue)) {
1062+
ConstantInt *ML = cast<ConstantInt>(MatrixLayout);
1063+
auto MLValue = ML->getLimitedValue();
1064+
if (!CheckMatrixLayout(MLValue)) {
10651065
ValCtx.EmitInstrError(CI,
10661066
ValidationRule::InstrLinalgInvalidMatrixLayoutValue);
10671067
}

0 commit comments

Comments
 (0)