Skip to content

Commit

Permalink
Extra assert check on SIMDInfo offset
Browse files Browse the repository at this point in the history
Add the check on SIMDInfo offset
  • Loading branch information
iwwu authored and igcbot committed Dec 18, 2024
1 parent df6763c commit 4a967b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IGC/Compiler/CodeGenPublic.h
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,7 @@ namespace IGC
default:
break;
}
IGC_ASSERT(offset < 64);
return offset;
}

Expand Down

0 comments on commit 4a967b4

Please sign in to comment.