Skip to content

Commit 7240c25

Browse files
authored
Remove unneeded asserts (#3514)
1 parent d8499bb commit 7240c25

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

tools/clang/lib/CodeGen/CGHLSLMS.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4970,7 +4970,6 @@ bool CGMSHLSLRuntime::NeedHLSLMartrixCastForStoreOp(const clang::Decl* TD,
49704970
const unsigned storeValOpIdx = HLOperandIndex::kStoreValOpIdx - 1;
49714971

49724972
if (storeValOpIdx >= IRCallArgs.size()) {
4973-
DXASSERT_NOMSG(storeValOpIdx < IRCallArgs.size());
49744973
return false;
49754974
}
49764975

@@ -4987,8 +4986,6 @@ void CGMSHLSLRuntime::EmitHLSLMartrixCastForStoreOp(CodeGenFunction& CGF,
49874986

49884987
if (storeValOpIdx >= IRCallArgs.size() ||
49894988
storeValOpIdx >= ArgTys.size()) {
4990-
DXASSERT_NOMSG(storeValOpIdx < IRCallArgs.size());
4991-
DXASSERT_NOMSG(storeValOpIdx < ArgTys.size());
49924989
return;
49934990
}
49944991

0 commit comments

Comments
 (0)