You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to transform the powi(X, Y) / X into powi(X, Y-1) with Ofast.
For this case, when the Y is 3, then powi(X, 2) is replaced by X * X in
the further step.
Fixesllvm#67216
Consider the following:
https://godbolt.org/z/jjKE5n8o1
If
-Ofast
is specified, GCC just calculatesx * x
forf2
, but Clang performs floating-point division.When I lower the version to Clang 14.0.0, it behaves as expected, has anything changed?
The text was updated successfully, but these errors were encountered: