Skip to content

[CanonicalizeInstruction] Process instruction "at" load after rewriting. #72318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

nate-chandler
Copy link
Contributor

When a load/load_borrow is canonicalized, canonicalization should continue from where the load was before rather than the first instruction that was after it. Enables narrowing the load through a sequence of projections.

When a load/load_borrow is canonicalized, canonicalization should
continue from where the load was before rather than the first
instruction that was after it.  Enables narrowing the load through
a sequence of projections.
This test didn't compile without the fix to CanonicalizeInstruction.
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please apple silicon benchmark

@nate-chandler
Copy link
Contributor Author

@swift-ci please test source compatibility

@nate-chandler nate-chandler marked this pull request as ready for review March 14, 2024 14:05
@nate-chandler nate-chandler merged commit e1c04c9 into swiftlang:main Mar 14, 2024
@nate-chandler nate-chandler deleted the noncopyable-bugs/20240313/1 branch March 14, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant