-
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
[mlir][arith] ceildivsi
wrong lowering
#106519
Comments
Hi, This is my first time contributing to this project. I'd like to give it a shot. Can someone assign this issue to me? |
there seems to be a second bug going on with |
I tried to run the
The
Is there anything wrong with this outcome? |
weird, maybe this is only an issue with the linux |
My understanding is that #133774 should fix the bug? |
The following code computes the value (
ceildivsi -128 7)
, and should produce-18
. However, the compiled code will output18
on trunk (when run withmlir-cpu-runner
).A similar bug was previously reported in #89382, but the fix addressed only the constant folder. It appears the lowering is incorrect as well.
https://godbolt.org/z/4KzG3chYG
The text was updated successfully, but these errors were encountered: