Skip to content

Commit 8675c40

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

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
@@ -1172,10 +1172,9 @@ static void ValidateImmOperandsForOuterProdAcc(CallInst *CI,
11721172
CI, ValidationRule::InstrLinalgInterpretationParamAreConst);
11731173
ConstantInt *MI = cast<ConstantInt>(MatrixInterpretation);
11741174
uint64_t MIValue = MI->getLimitedValue();
1175-
if (!CheckInMemoryInterpretations(MIValue)) {
1175+
if (!CheckInMemoryInterpretations(MIValue))
11761176
ValCtx.EmitInstrError(CI,
11771177
ValidationRule::InstrLinalgInvalidMemoryInterpValue);
1178-
}
11791178

11801179
if (!llvm::isa<llvm::Constant>(MatrixLayout))
11811180
ValCtx.EmitInstrError(CI,

0 commit comments

Comments
 (0)