diff options
author | Shuxin Yang <shuxin.llvm@gmail.com> | 2013-03-14 18:08:26 +0000 |
---|---|---|
committer | Shuxin Yang <shuxin.llvm@gmail.com> | 2013-03-14 18:08:26 +0000 |
commit | 2eca602f8b1c227d4e33f13eb3156545d73b6507 (patch) | |
tree | 5e7a52cdc3d8719e3115c1d94baea058f7f6edbf /lldb/source/Core/ValueObjectChild.cpp | |
parent | ed6d955416f06c6ad00f0ed7b4a1c3cef5a85b17 (diff) | |
download | bcm5719-llvm-2eca602f8b1c227d4e33f13eb3156545d73b6507.tar.gz bcm5719-llvm-2eca602f8b1c227d4e33f13eb3156545d73b6507.zip |
Perform factorization as a last resort of unsafe fadd/fsub simplification.
Rules include:
1)1 x*y +/- x*z => x*(y +/- z)
(the order of operands dosen't matter)
2) y/x +/- z/x => (y +/- z)/x
The transformation is disabled if the new add/sub expr "y +/- z" is a
denormal/naz/inifinity.
rdar://12911472
llvm-svn: 177088
Diffstat (limited to 'lldb/source/Core/ValueObjectChild.cpp')
0 files changed, 0 insertions, 0 deletions