commit | 2944652569d1beb538f5a72ab1a4bb581ea5cf91 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon May 14 22:04:50 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon May 14 22:04:50 2007 +0000 |
tree | 1977eb603c383643722c703b524f5a3b757a245a | |
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