commit | 5126984b1da4bda0e93961da07e883699f1f2d57 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Mar 01 05:50:56 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Mar 01 05:50:56 2006 +0000 |
tree | 282a6a6e3778ffa0bee4990b791b8b0236a2b484 | |
parent | c607fa8665942710d0748184bf99a3051dfda3d8 [diff] |
Compile this: void foo(float a, int *b) { *b = a; } to this: _foo: fctiwz f0, f1 stfiwx f0, 0, r4 blr instead of this: _foo: fctiwz f0, f1 stfd f0, -8(r1) lwz r2, -4(r1) stw r2, 0(r4) blr This implements CodeGen/PowerPC/stfiwx.ll, and also incidentally does the right thing for GCC bugzilla 26505. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26447 91177308-0d34-0410-b5e6-96231b3b80d8