You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change PeepholeRemoveDeadCode to stop asserting that the AST is normalized.
The pass runs both before and after denormalize. So it’s a bug that the pass unconditionally asserts that the AST is normalized.
This CL deletes the check. Alternatively, even just guarding the check with `isASTNormalized` would works - http://sponge2/c65113df-4f96-4148-9400-6f551562349c
```
if (!isASTNormalized()) {
// the pass is running after denormalize
return subtree;
}
throw checkNormalization(false, "WHILE");
```
PiperOrigin-RevId: 561471939
0 commit comments