-
Notifications
You must be signed in to change notification settings - Fork 11.5k
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
LoopFlatten miscompile #59339
Labels
Comments
Thanks for the nice reproducer. I will see if a quick/simple fix is possible before the end of today, or revert this. |
Thanks! |
sjoerdmeijer
added a commit
that referenced
this issue
Dec 5, 2022
stuij
added a commit
to stuij/llvm-project
that referenced
this issue
Apr 29, 2024
The enablement of LoopFlatten got reverted by commit 8250180 because of a reported miscompilation in llvm#59339. That issue got fixed by commit 161bfa5.
nikic
pushed a commit
to nikic/llvm-project
that referenced
this issue
Apr 30, 2024
The enablement of LoopFlatten got reverted by commit 8250180 because of a reported miscompilation in llvm#59339. That issue got fixed by commit 161bfa5.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Input:
Note that
%3
goes from 0 to 1, so the loads for%11
are%1[0]
,%1[0]
,%1[0]
,%1[3]
,%1[3]
,%1[3]
.The output is:
Now,
%3
goes from 0 to 5, and the loads are from%1[0]
,%1[3]
,%1[6]
, ...The culprit seems to be 3ea6a9a.
The text was updated successfully, but these errors were encountered: