mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 13:10:42 +00:00
reassociate should do this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
10c4245103
commit
43dc2e6d76
@ -175,7 +175,7 @@ _foo:
|
||||
mulsd %xmm2, %xmm0
|
||||
ret
|
||||
|
||||
Instcombine should be able to turn it into:
|
||||
Reassociate should be able to turn it into:
|
||||
|
||||
double foo(double x, double y) {
|
||||
return ((x + 0.1234 * y) * (x - 0.1234 * y));
|
||||
|
Loading…
Reference in New Issue
Block a user