summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2005-10-19 01:12:32 +0000
committerNate Begeman <natebegeman@mac.com>2005-10-19 01:12:32 +0000
commit9eaa6bac06854d806ef6fcf993851b46d4d877a5 (patch)
treee5859e692e68ac8b09cd16ada00eac53b87cf3b8 /llvm/lib/Target/PowerPC/PPCISelLowering.cpp
parent38d7f2be4c264864173097b242ce323904898905 (diff)
downloadbcm5719-llvm-9eaa6bac06854d806ef6fcf993851b46d4d877a5.tar.gz
bcm5719-llvm-9eaa6bac06854d806ef6fcf993851b46d4d877a5.zip
Woo, it kinda works. We now generate this atrociously bad, but correct,
code for long long foo(long long a, long long b) { return a + b; } _foo: or r2, r3, r3 or r3, r4, r4 or r4, r5, r5 or r5, r6, r6 rldicr r2, r2, 32, 31 rldicl r3, r3, 0, 32 rldicr r4, r4, 32, 31 rldicl r5, r5, 0, 32 or r2, r3, r2 or r3, r5, r4 add r4, r3, r2 rldicl r2, r4, 32, 32 or r4, r4, r4 or r3, r2, r2 blr llvm-svn: 23809
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud