search for: calleesavedregs64ehret

Displaying 3 results from an estimated 3 matches for "calleesavedregs64ehret".

2010 Mar 03
0
[LLVMdev] [PATCH] New calling convention for use by GHC
...se document the new calling convention in docs/LangRef.html#callingconv 3) IN X86RegisterInfo.cpp, this patch: if (Is64Bit) { if (IsWin64) - return CalleeSavedRegsWin64; + return (ghcCall ? GhcCalleeSavedRegsWin64 : CalleeSavedRegsWin64); else - return (callsEHReturn ? CalleeSavedRegs64EHRet : CalleeSavedRegs64Bit); + if (ghcCall) + return (callsEHReturn ? + GhcCalleeSavedRegs64EHRet : GhcCalleeSavedRegs64Bit); + else + return (callsEHReturn ? CalleeSavedRegs64EHRet : CalleeSavedRegs64Bit); Seems like it could be simplified. Have you tested th...
2010 Mar 07
1
[LLVMdev] [PATCH] New calling convention for use by GHC
...ngRef.html#callingconv Done. > 3) IN X86RegisterInfo.cpp, this patch: > > if (Is64Bit) { > if (IsWin64) > - return CalleeSavedRegsWin64; > + return (ghcCall ? GhcCalleeSavedRegsWin64 : CalleeSavedRegsWin64); > else > - return (callsEHReturn ? CalleeSavedRegs64EHRet : CalleeSavedRegs64Bit); > + if (ghcCall) > + return (callsEHReturn ? > + GhcCalleeSavedRegs64EHRet : GhcCalleeSavedRegs64Bit); > + else > + return (callsEHReturn ? CalleeSavedRegs64EHRet : CalleeSavedRegs64Bit); > > Seems like it could...
2010 Mar 03
2
[LLVMdev] [PATCH] New calling convention for use by GHC
Hi all, As previously mentioned on this list the Haskell compiler GHC has a new LLVM based back-end. The back-end needs a new calling convention to efficiently use LLVM and that is what this patch does, just for X86 at the moment. Breakdown: 1) Need actual calling convention Touches: - include/llvm/CallingConv.h - lib/Target/X86/X86CallingConv.td 2) Handling new calling