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.<div><br></div>

<div>Please review!</div><div><br></div><div>Nick</div><div><br></div>