-
Notifications
You must be signed in to change notification settings - Fork 11.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
[flang] MOD 7x performance regression #78641
Comments
@llvm/issue-subscribers-flang-runtime Author: Slava Zakharin (vzakhari)
Polyhedron/ac slowed down by 3.7x after https://github.com//pull/77167
`_FortranAModReal8` itself slowed down by 7.4x
I wonder if it can use the previous approach for not so different |
Another observation is that in the |
Can you give me a link to the exact call site in the source that you believe is passing integer arguments? |
There is a single call site in file
|
#78745 should improve things (it's faster in my experiments) but may not be fast enough; please let me know. |
The new accurate algorithm for real MOD and MODULO in the runtime is not as fast as std::fmod(), which is also accurate. So use std::fmod() for those floating-point types that it supports. Fixes llvm#78641.
The new accurate algorithm for real MOD and MODULO in the runtime is not as fast as std::fmod(), which is also accurate. So use std::fmod() for those floating-point types that it supports. Fixes #78641.
Polyhedron/ac slowed down by 3.7x after #77167
_FortranAModReal8
itself slowed down by 7.4xI wonder if it can use the previous approach for not so different
a
andp
.The text was updated successfully, but these errors were encountered: