Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent hoisting nodes with order side effects (#100160)
If a node has an order side effect, we can't hoist it at all: we don't know what the order dependence actually is. For example, assertion prop might have determined a node can't throw an exception, and eliminated the `GTF_EXCEPT` flag, replacing it with `GTF_ORDER_SIDEEFF`. We can't hoist because we might then hoist above the expression that led assertion prop to make that decision. This can happen in JitOptRepeat, where hoisting can follow assertion prop.
- Loading branch information