diff options
author | Shuxin Yang <shuxin.llvm@gmail.com> | 2013-01-07 21:39:23 +0000 |
---|---|---|
committer | Shuxin Yang <shuxin.llvm@gmail.com> | 2013-01-07 21:39:23 +0000 |
commit | df0e61e7938e2652c0ba03600fbef9b9f0ff1166 (patch) | |
tree | e1650b130c53036044779f934a1f6754909a04a0 /llvm/lib/Object/Archive.cpp | |
parent | 0a17f59db8479ab4158b8dd52c2b155bbbcfd16a (diff) | |
download | bcm5719-llvm-df0e61e7938e2652c0ba03600fbef9b9f0ff1166.tar.gz bcm5719-llvm-df0e61e7938e2652c0ba03600fbef9b9f0ff1166.zip |
This change is to implement following rules:
o. X/C1 * C2 => X * (C2/C1) (if C2/C1 is neither special FP nor denormal)
o. X/C1 * C2 -> X/(C1/C2) (if C2/C1 is either specical FP or denormal, but C1/C2 is a normal Fp)
Let MDC denote multiplication or dividion with one & only one operand being a constant
o. (MDC ± C1) * C2 => (MDC * C2) ± (C1 * C2)
(so long as the constant-folding doesn't yield any denormal or special value)
llvm-svn: 171793
Diffstat (limited to 'llvm/lib/Object/Archive.cpp')
0 files changed, 0 insertions, 0 deletions