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 | 2944652569d1beb538f5a72ab1a4bb581ea5cf91 (patch) | |
tree | 1977eb603c383643722c703b524f5a3b757a245a /lib/CodeGen/MachineInstr.cpp | |
parent | f2f4bb2594a09d810d4f47435bf3fbb6d7ee452b (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions