[llvm-commits] [RFC] Patch 1/3 for the native code compiler of Erlang
gtsiour at softlab.ntua.gr
Thu May 31 09:39:55 PDT 2012
On 05/14/2012 01:31 AM, Yiannis Tsiouris wrote:
> On 05/13/2012 07:51 PM, Jakob Stoklund Olesen wrote:
>> On May 13, 2012, at 8:32 AM, Yiannis Tsiouris wrote:
>>> Is there anything wrong with this patch?
>> The patch doesn't apply cleanly, possibly because of the missing newline at the end of your test case.
>> Here you check for a NULL Function:
>> const Function *F = MF->getFunction();
>> ghcCall = (F ? F->getCallingConv() == CallingConv::GHC : false);
>> + hipeCall = (F ? F->getCallingConv() == CallingConv::HiPE : false);
>> Here you don't:
>> + if (MF.getFunction()->getCallingConv() == CallingConv::HiPE)
>> + return &X86::GR32RegClass;
> I attatch an updated patch for the Calling Convention.
Is there something wrong with the new CC patch?
With best regards,
Software Engineering Laboratory,
National Technical University of Athens
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12282 bytes
Desc: not available
More information about the llvm-commits