[PATCH] D45653: [X86] Enable sibling-call optimization for functions returning structs

Aleksandr Urakov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 27 05:32:23 PDT 2018


aleksandr.urakov added a comment.

If I understand right, the fail becomes not because of the sret argument is not the same, but because in the C calling convention sret argument is cleaned up by a callee, while a non-sret pointer to a struct is cleaned up by a caller. Or maybe I am missing something?..


https://reviews.llvm.org/D45653





More information about the llvm-commits mailing list