summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-01 05:50:56 +0000
committerChris Lattner <sabre@nondot.org>2006-03-01 05:50:56 +0000
commit27f5345b1fcc4d771b228cd06e0ede167fa4e6d2 (patch)
treecdb1fdec8f040e5a6a3f724d6fa1980fb72b4973 /llvm/lib/CodeGen/PHIElimination.cpp
parent160cc9246114569c77d3cdf0fc130fecf289abb3 (diff)
downloadbcm5719-llvm-27f5345b1fcc4d771b228cd06e0ede167fa4e6d2.tar.gz
bcm5719-llvm-27f5345b1fcc4d771b228cd06e0ede167fa4e6d2.zip
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. llvm-svn: 26447
Diffstat (limited to 'llvm/lib/CodeGen/PHIElimination.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud