[llvm-commits] [Review request] Tweaking Win64 Codegen

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue Jan 11 00:14:21 PST 2011


On Jan 10, 2011, at 11:44 PM, NAKAMURA Takumi wrote:
> * 0009-Target-X86-Tweak-win64-s-tailcall.patch.txt
> 
>  [PR8743] Introduce tailcall-w64 stuff.

Hi Takumi,

I don't think adding more TCRETURN instructions is the right solution.

Instead, you should add a new kind of dynamic pointer register class to X86RegisterInfo::getPointerRegClass() and use that for the TCRETURN operand:

def ptr_rc_tailcall : PointerLikeRegClass<2>;

/jakob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110111/e28dfade/attachment.bin>


More information about the llvm-commits mailing list