Skip to content

Commit

Permalink
[compiler][ez] Include phi identifier in AssertValidMutableRanges
Browse files Browse the repository at this point in the history
Summary:
Looks like we accidentally skipped validating this identifier.

[ghstack-poisoned]
  • Loading branch information
mvitousek committed Oct 10, 2024
1 parent f5b8d93 commit 37f6255
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
export function assertValidMutableRanges(fn: HIRFunction): void {
for (const [, block] of fn.body.blocks) {
for (const phi of block.phis) {
visitIdentifier(phi.id);
for (const [, operand] of phi.operands) {
visitIdentifier(operand);
}
Expand Down

0 comments on commit 37f6255

Please sign in to comment.