Skip to content

Commit ede7bdb

Browse files
simollllvm-beanz
andauthored
Update lib/DxilValidation/DxilValidation.cpp
Co-authored-by: Chris B <[email protected]>
1 parent 083f258 commit ede7bdb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/DxilValidation/DxilValidation.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,10 +1167,9 @@ static void ValidateImmOperandsForOuterProdAcc(CallInst *CI,
11671167
llvm::Value *MatrixLayout =
11681168
CI->getOperand(DXIL::OperandIndex::kOuterProdAccMatrixLayout);
11691169

1170-
if (!llvm::isa<llvm::Constant>(MatrixInterpretation)) {
1170+
if (!llvm::isa<llvm::Constant>(MatrixInterpretation))
11711171
ValCtx.EmitInstrError(
11721172
CI, ValidationRule::InstrLinalgInterpretationParamAreConst);
1173-
}
11741173
ConstantInt *MI = cast<ConstantInt>(MatrixInterpretation);
11751174
uint64_t MIValue = MI->getLimitedValue();
11761175
if (!CheckInMemoryInterpretations(MIValue)) {

0 commit comments

Comments
 (0)