-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Incorrect MachineSink into clobbering loop #53990
Milestone
Comments
Candidate patch: https://reviews.llvm.org/D120330 |
/branch llvmbot/llvm-project/issue53990 |
llvmbot
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Mar 3, 2022
This is an alternative to D120330, which disables MachineSink for functions with irreducible cycles entirely. This avoids both the correctness problem, and ensures we don't perform non-profitable sinks into cycles. At the same time, it may also disable profitable sinks in the same function. This can be made more precise by using MachineCycleInfo in the future. Fixes llvm#53990. Differential Revision: https://reviews.llvm.org/D120800 (cherry picked from commit 6fde043)
/pull-request llvmbot#114 |
tstellar
pushed a commit
that referenced
this issue
Mar 8, 2022
This is an alternative to D120330, which disables MachineSink for functions with irreducible cycles entirely. This avoids both the correctness problem, and ensures we don't perform non-profitable sinks into cycles. At the same time, it may also disable profitable sinks in the same function. This can be made more precise by using MachineCycleInfo in the future. Fixes #53990. Differential Revision: https://reviews.llvm.org/D120800 (cherry picked from commit 6fde043)
mem-frob
pushed a commit
to draperlaboratory/hope-llvm-project
that referenced
this issue
Oct 7, 2022
This is an alternative to D120330, which disables MachineSink for functions with irreducible cycles entirely. This avoids both the correctness problem, and ensures we don't perform non-profitable sinks into cycles. At the same time, it may also disable profitable sinks in the same function. This can be made more precise by using MachineCycleInfo in the future. Fixes llvm/llvm-project#53990. Differential Revision: https://reviews.llvm.org/D120800
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The load is sunk into
split.3
, but may then be clobbered by following the split.3 -> clobber -> sink -> latch -> loop -> split.3 chain.This is due to the functionality introduced in https://reviews.llvm.org/D86864, which uses incorrect post-dominance reasoning.
The text was updated successfully, but these errors were encountered: