diff options
| author | Erik Verbruggen <erikjv@me.com> | 2014-08-21 10:45:30 +0000 |
|---|---|---|
| committer | Erik Verbruggen <erikjv@me.com> | 2014-08-21 10:45:30 +0000 |
| commit | 2b98bd2a80aea506506c6479e87283330edef86c (patch) | |
| tree | 53e12be0117a60b8b41c6755189d68294d4beed2 /llvm/tools/llvm-c-test | |
| parent | b791ef21d2a11b9117abac5cc40ccae73a22c2a8 (diff) | |
| download | bcm5719-llvm-2b98bd2a80aea506506c6479e87283330edef86c.tar.gz bcm5719-llvm-2b98bd2a80aea506506c6479e87283330edef86c.zip | |
Reassociate x + -0.1234 * y into x - 0.1234 * y
This does not require -ffast-math, and it gives CSE/GVN more options to
eliminate duplicate expressions in, e.g.:
return ((x + 0.1234 * y) * (x - 0.1234 * y));
Differential Revision: http://reviews.llvm.org/D4904
llvm-svn: 216169
Diffstat (limited to 'llvm/tools/llvm-c-test')
0 files changed, 0 insertions, 0 deletions

