[llvm-commits] patch: copy sret argument into %rax on return with x86-64 abi in fastisel

Nick Lewycky nlewycky at google.com
Tue Oct 2 15:26:50 PDT 2012


The x86-64 ABI requires that we copy the value in our sret argument into
%rax when returning. The normal X86 ISel has code to do this at
X86ISelLowering.cpp:1583. This patch adds it to fast-isel, fixing PR13563.

Please review!

Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121002/21f32f6f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr13563-1.patch
Type: application/octet-stream
Size: 2135 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121002/21f32f6f/attachment.obj>


More information about the llvm-commits mailing list