mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-22 10:33:23 +00:00
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97660 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c8e14b3d37
commit
aedc3ec1e2
@ -14,7 +14,8 @@
|
|||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
def RetCC_Alpha : CallingConv<[
|
def RetCC_Alpha : CallingConv<[
|
||||||
// i64 is returned in register R0
|
// 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
|
// f32 / f64 are returned in F0/F1
|
||||||
CCIfType<[f32, f64], CCAssignToReg<[F0, F1]>>
|
CCIfType<[f32, f64], CCAssignToReg<[F0, F1]>>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user