forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When SROA crosses the compaction line to look at uncompacted IR, it needs to be sure to propagate that taint to all values it pulls out of the uncompacted IR. We had this logic for phi nodes, but we accidentally lacked it for raw SSAValues. This didn't cause problems in practice, because our pipeline compacts out raw SSAValues before running SROA, but it is otherwise legal. Fix that and add a test.
- Loading branch information
Showing
2 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters