diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2010-03-03 20:15:31 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2010-03-03 20:15:31 +0000 |
commit | a8e87d57be9a857e99a87dae8f4899b73b3a4a91 (patch) | |
tree | 1ebbd11ab2e47ec4188351c635c66e4db7cadd83 /llvm/lib | |
parent | 3afc0721c766db6942e79597a9b2e10fe0824194 (diff) | |
download | bcm5719-llvm-a8e87d57be9a857e99a87dae8f4899b73b3a4a91.tar.gz bcm5719-llvm-a8e87d57be9a857e99a87dae8f4899b73b3a4a91.zip |
Fix PR6444, note still doesn't compile libgcc2 all the way, but fixes that error. May not fix it in an ABI complient way. It wasn't clear what gcc does
llvm-svn: 97660
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaCallingConv.td | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaCallingConv.td b/llvm/lib/Target/Alpha/AlphaCallingConv.td index 38ada69c242..bde8819f46e 100644 --- a/llvm/lib/Target/Alpha/AlphaCallingConv.td +++ b/llvm/lib/Target/Alpha/AlphaCallingConv.td @@ -14,7 +14,8 @@ //===----------------------------------------------------------------------===// def RetCC_Alpha : CallingConv<[ // i64 is returned in register R0 - CCIfType<[i64], CCAssignToReg<[R0]>>, + // R1 is an llvm extension, I don't know what gcc does + CCIfType<[i64], CCAssignToReg<[R0,R1]>>, // f32 / f64 are returned in F0/F1 CCIfType<[f32, f64], CCAssignToReg<[F0, F1]>> |