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

PR for llvm/llvm-project#53726 #73

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

llvmbot
Copy link
Owner

@llvmbot llvmbot commented Feb 17, 2022

resolves llvm#53726

The oversight caused us to ignore call sites that are effectively dead
when we computed reachability (or more precise the call edges of a
function). The problem is that loads in the readonly callee might depend
on stores prior to the callee. If we do not track the call edge we
mistakenly assumed the store before the call cannot reach the load.
The problem is nicely visible in:
  `llvm/test/Transforms/Attributor/ArgumentPromotion/basictest.ll`

Caused by D118673.

Fixes llvm#53726
@nickdesaulniers
Copy link

nickdesaulniers commented Feb 17, 2022

Is the bot supposed to be picking up more than one commit like this?

EDIT: see also: #74 (comment)

@jdoerfert
Copy link

Is the bot supposed to be picking up more than one commit like this?

I doubt it. The second commit is already part of release/14.x according to my git. So as far as I can tell I only added a single commit but the bot shows two.

@tstellar tstellar merged commit 13fdc7a into llvmbot:release/14.x Feb 21, 2022
@jdoerfert jdoerfert deleted the issue53726 branch February 21, 2022 21:59
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.

4 participants