Skip to content

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

Merged
merged 1 commit into from
May 12, 2019
Merged

Canonicalize stores in the CanonicalizeInstruction utility. #24625

merged 1 commit into from
May 12, 2019

Conversation

atrick
Copy link
Contributor

@atrick atrick commented May 8, 2019

This is the complement to load canonicalization. Although store
canonicalization is not required before diagnostics, it should be
defined in the same utility.

@atrick atrick requested a review from gottesmm May 8, 2019 23:42
@atrick
Copy link
Contributor Author

atrick commented May 8, 2019

@swift-ci test

@swift-ci
Copy link
Contributor

swift-ci commented May 9, 2019

Build failed
Swift Test Linux Platform
Git Sha - 1363fd860250b16867b8e556e060d27508a657ab

@swift-ci
Copy link
Contributor

swift-ci commented May 9, 2019

Build failed
Swift Test OS X Platform
Git Sha - 1363fd860250b16867b8e556e060d27508a657ab

@atrick
Copy link
Contributor Author

atrick commented May 9, 2019

@swift-ci test

@swift-ci
Copy link
Contributor

swift-ci commented May 9, 2019

Build failed
Swift Test Linux Platform
Git Sha - 1363fd860250b16867b8e556e060d27508a657ab

@swift-ci
Copy link
Contributor

swift-ci commented May 9, 2019

Build failed
Swift Test OS X Platform
Git Sha - 1363fd860250b16867b8e556e060d27508a657ab

Copy link
Contributor

@gottesmm gottesmm left a 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.
Copy link
Contributor

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.
@atrick
Copy link
Contributor Author

atrick commented May 9, 2019

@swift-ci smoke test and merge

@atrick
Copy link
Contributor Author

atrick commented May 12, 2019

@swift-ci smoke test and merge.

@swift-ci swift-ci merged commit 616ec93 into swiftlang:master May 12, 2019
@atrick atrick deleted the canonicalize-stores branch May 14, 2019 19:36
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.

3 participants