Skip to content

Commit 0166d20

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

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
@@ -1089,9 +1089,9 @@ static void ValidateImmOperandsForMatVecOps(CallInst *CI, DXIL::OpCode opcode,
10891089
ValCtx.EmitInstrError(
10901090
CI, ValidationRule::InstrLinalgInterpretationParamAreConst);
10911091
}
1092-
ConstantInt *Bi = cast<ConstantInt>(BiasInterpretation);
1093-
auto BiValue = Bi->getLimitedValue();
1094-
if (!CheckInMemoryInterpretations(BiValue)) {
1092+
ConstantInt *BI = cast<ConstantInt>(BiasInterpretation);
1093+
auto BIValue = BI->getLimitedValue();
1094+
if (!CheckInMemoryInterpretations(BIValue)) {
10951095
ValCtx.EmitInstrError(
10961096
CI, ValidationRule::InstrLinalgInvalidMemoryInterpValue);
10971097
}

0 commit comments

Comments
 (0)