From 4a967b4c200484ea7dab7632a87dc412e3e86076 Mon Sep 17 00:00:00 2001 From: "Wu, Irene W" Date: Tue, 17 Dec 2024 19:49:46 +0000 Subject: [PATCH] Extra assert check on SIMDInfo offset Add the check on SIMDInfo offset --- IGC/Compiler/CodeGenPublic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/IGC/Compiler/CodeGenPublic.h b/IGC/Compiler/CodeGenPublic.h index 35dbaade53ef..479ddcde9734 100644 --- a/IGC/Compiler/CodeGenPublic.h +++ b/IGC/Compiler/CodeGenPublic.h @@ -1182,6 +1182,7 @@ namespace IGC default: break; } + IGC_ASSERT(offset < 64); return offset; }