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
[Attributor] Do not use liveness of the wrong function #53872
Comments
/cherry-pick 668c5c6 |
Failed to cherry-pick: 668c5c6 https://github.com/llvm/llvm-project/actions/runs/1855577960 Please manually backport the fix and push it to your github fork. Once this is done, please add a comment like this:
|
/branch jdoerfert/llvm-project/issue53872 |
/pull-request llvmbot#81 |
@jdoerfert Can you rebase the issue53872 branch? The patches no longer apply cleanly. |
When we use liveness for edges during the `genericValueTraversal` we need to make sure to use the AAIsDead of the correct function. This patch adds the proper logic and some simple caching scheme. We also add an assertion to the `isEdgeDead` call to make sure future misuse is detected earlier. Fixes llvm#53872
Done, I think. |
When we use liveness for edges during the `genericValueTraversal` we need to make sure to use the AAIsDead of the correct function. This patch adds the proper logic and some simple caching scheme. We also add an assertion to the `isEdgeDead` call to make sure future misuse is detected earlier. Fixes #53872
Merged: a98c04d |
When we use liveness for edges during the `genericValueTraversal` we need to make sure to use the AAIsDead of the correct function. This patch adds the proper logic and some simple caching scheme. We also add an assertion to the `isEdgeDead` call to make sure future misuse is detected earlier. Fixes llvm#53872
When we use liveness for edges during the `genericValueTraversal` we need to make sure to use the AAIsDead of the correct function. This patch adds the proper logic and some simple caching scheme. We also add an assertion to the `isEdgeDead` call to make sure future misuse is detected earlier. Fixes llvm/llvm-project#53872
If we use AAIsDead of the wrong function all queries will result in "is dead". This problem is at least present in the genericValueTraversal, could be other places too.
The text was updated successfully, but these errors were encountered: