Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix invalid threading of nodes in rationalization (#64012)
The code in question assumes that the ASG will be reversed and thus threads "simdTree" before "location" in the linear order. That dependency, while valid, because "gtSetEvalOrder" will always reverse ASGs with locals on the LHS, is unnecessary and incorrect from the IR validity point of view. Fix this by using "InsertAfter" instead of manual node threading.
- Loading branch information