-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
[SCEV] Assertion `isAvailableAtLoopEntry(Op, L) && "SCEVAddRecExpr operand is not available at loop entry!"' failed. #117537
Labels
Comments
@nikic @dtcxzyw @EugeneZelenko any thoughts? I'm inclined to having a patch that removes SCEV from simple-loop-unswitch 's list of preserved analyses. |
Some SCEVs should be invalidated in |
AZero13
pushed a commit
to AZero13/llvm-project
that referenced
this issue
Dec 5, 2024
Fixes llvm#117537. (cherry picked from commit fc5c899)
AZero13
pushed a commit
to AZero13/llvm-project
that referenced
this issue
Dec 7, 2024
Fixes llvm#117537. (cherry picked from commit fc5c899)
tru
pushed a commit
to AZero13/llvm-project
that referenced
this issue
Dec 17, 2024
Fixes llvm#117537. (cherry picked from commit fc5c899)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Faulty IR:
fails when run with
opt -passes='print<scalar-evolution>,simple-loop-unswitch<nontrivial>,print<scalar-evolution>'
Demo of failure: https://godbolt.org/z/qhboK5r3j
The text was updated successfully, but these errors were encountered: