-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Canonicalize stores in the CanonicalizeInstruction utility. #24625
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
Conversation
@swift-ci test |
Build failed |
Build failed |
@swift-ci test |
Build failed |
Build failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small typo, but otherwise LGTM
auto *f = storeInst->getFunction(); | ||
|
||
// Continue up the struct_element_addr chain, as long as each struct only has | ||
// a single property, creating StringInsts along the way. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
StringInsts
-> StoreInsts
This is the complement to load canonicalization. Although store canonicalization is not required before diagnostics, it should be defined in the same utility.
@swift-ci smoke test and merge |
@swift-ci smoke test and merge. |
This is the complement to load canonicalization. Although store
canonicalization is not required before diagnostics, it should be
defined in the same utility.