Skip to content
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

Cherry-pick two fixes #164

Merged
merged 4 commits into from
Feb 13, 2024

Conversation

nikic
Copy link

@nikic nikic commented Feb 1, 2024

nikic added 4 commits February 1, 2024 10:52
This is a followup to llvm#76819. After those changes, we can still run into
an assertion failure for a slight variation of the test case: When
fixing up MemoryPhis, we map the incoming access to the access of the
cloned instruction -- which may now no longer exist.

Fix this by reusing the getNewDefiningAccessForClone() helper, which
will look upwards for a new defining access in that case.

(cherry picked from commit a7a1b8b)
(cherry picked from commit 0c02b2e)
…lvm#79161)

LAA currently adds memory locations with their original AATags to AST.
However, scoped alias AATags may be valid only within one loop
iteration, while LAA reasons across iterations.

Fix this by determining which alias scopes are defined inside the loop,
and drop AATags that reference these scopes.

Fixes llvm#79137.

(cherry picked from commit cd7ea4e)
Copy link
Member

@cuviper cuviper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rust master just moved to 18, but we can merge this and consider it for beta.

@cuviper cuviper merged commit e355a59 into rust-lang:rustc/17.0-2023-12-14 Feb 13, 2024
vext01 pushed a commit to vext01/llvm-project that referenced this pull request May 22, 2024
Properly serialise unimplemented constants.
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.

2 participants