-
Notifications
You must be signed in to change notification settings - Fork 84
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
dialects (arith) add fastmath option for float comparisons #3272
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3272 +/- ##
=======================================
Coverage ? 89.97%
=======================================
Files ? 444
Lines ? 55633
Branches ? 5357
=======================================
Hits ? 50055
Misses ? 4177
Partials ? 1401 ☔ View full report in Codecov by Sentry. |
This is great! Could you please split this into three PRs: arith, riscv, and lowering? |
The code pretty much looks ready to merge, but it would be good to add some filecheck tests for the custom format for each of the dialect PRs. |
@superlopuh I will attempt to split it up. Can you explain |
The split is great, exactly what I meant, thank you |
…ons (xdslproject#3276) `riscv`-only part of xdslproject#3272, with a new dialect test added. Thanks for the suggestion of separate tests, I didn't realize those existed and caught an error in the LiOp implementation while adding the test cases.
`backend`(lowering)-only part of xdslproject#3272. Depends on xdslproject#3275 and xdslproject#3276. This should close xdslproject#2725 once merged Co-authored-by: Sasha Lopoukhine <superlopuh@gmail.com>
Add an optional fastmath attribute to
arith.cmpf
and include the attribute while lowering to riscvHopefully closes #2725.