-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Dialect/Math/canonicalize.mlir
fails on trunk (1e818cd8e262b402bd6d3cb380f83ca06966bb4b
)
#58048
Comments
@llvm/issue-subscribers-mlir |
@jacquesguan can you take a look at this? |
https://reviews.llvm.org/D134850 I create a revision for this, it should work, but I do not have M1 environment to test it. |
I had the same issue on my M1 Max Macbook. The issue was caused by the exponential notation of floating point numbers. The canonicalization results of some floating point operations are printed in the exponential notation like "8.414710e-01" on my environment, but some tests try to match the results with "0.84{{[0-9]+}}". |
This will cause the test to fail on other platforms, unfortunately. |
Agreed. Then, how about changing it to "{{0.84[0-9]+|8.4[0-9]+e-01}}" for both Mac and other platforms? |
Link: #58048 Reviewed By: ftynse, Mogball Differential Revision: https://reviews.llvm.org/D134850
It looks like this issue can be closed because https://reviews.llvm.org/D134850 was merged? |
Link: llvm/llvm-project#58048 Reviewed By: ftynse, Mogball Differential Revision: https://reviews.llvm.org/D134850
I was trying to follow instructions on how to build LLVM-MLIR from https://mlir.llvm.org/getting_started/:
The build succeeded, but one test was failing:
It was AArch64 build on M1 MacBook.
The text was updated successfully, but these errors were encountered: