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

Anton Korobeynikov anton at korobeynikov.info
Wed Oct 3 21:57:16 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.
Interesting - have anyone run x86-64 ABI testsuite at O0 ? :)

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list