Skip to content

Commit 89370c3

Browse files
vsemenov368igcbot
authored andcommitted
Fix coverity issue in VC
.
1 parent 17aab9a commit 89370c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/VectorCompiler/lib/GenXCodeGen/GenXLoadStoreLegalization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ Value *GenXLoadStoreLegalization::extendUntypedBlockLoad2d(CallInst &CI) const {
493493
OverloadedTypes.push_back(VTy);
494494
const auto CacheControlIndex =
495495
vc::InternalIntrinsic::getMemoryCacheControlOperandIndex(&CI);
496-
IGC_ASSERT(CacheControlIndex >= 0);
496+
IGC_ASSERT_EXIT(CacheControlIndex >= 0);
497497
OverloadedTypes.push_back(CI.getOperand(CacheControlIndex)->getType());
498498
auto *Func = vc::InternalIntrinsic::getInternalDeclaration(
499499
CI.getModule(), IID, OverloadedTypes);

0 commit comments

Comments
 (0)