When unsafefpmath is enabled, we can turn sqrt(X) * sqrt(X) into X.
This can happen in the real world when calculating x ** 3/2. This occurs in testsuite/SingleSource/Benchmarks/BenchmarkGame/nbody.c.
Differential D5584
Optimize square root squared (PR21126) spatel on Oct 2 2014, 11:17 AM. Authored by
Details When unsafefpmath is enabled, we can turn sqrt(X) * sqrt(X) into X. This can happen in the real world when calculating x ** 3/2. This occurs in testsuite/SingleSource/Benchmarks/BenchmarkGame/nbody.c.
Diff Detail
Event TimelineComment Actions LGTM.
