diff options
author | Chris Lattner <sabre@nondot.org> | 2007-05-14 22:04:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-05-14 22:04:50 +0000 |
commit | e49c974a7c8705cdd0db6202fc891aaa56401d89 (patch) | |
tree | 79d8c4073aa7b656c52ca028e102110098210abf /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | d1e6255141775827460ad51a84c32e707e0d46b4 (diff) | |
download | bcm5719-llvm-e49c974a7c8705cdd0db6202fc891aaa56401d89.tar.gz bcm5719-llvm-e49c974a7c8705cdd0db6202fc891aaa56401d89.zip |
implement a simple fneg optimization/propagation thing. This compiles:
CodeGen/PowerPC/fneg.ll into:
_t4:
fmul f0, f3, f4
fmadd f1, f1, f2, f0
blr
instead of:
_t4:
fneg f0, f3
fmul f0, f0, f4
fmsub f1, f1, f2, f0
blr
llvm-svn: 37054
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions