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

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 15 10:32:05 PDT 2018


lebedev.ri added a comment.

In https://reviews.llvm.org/D45653#1200944, @aleksandr.urakov wrote:

> @spatel Thanks, now I understand you! Sorry for so much fuss on this. Hopefully someone with Radar access will review the patch.


I guess two straight-forward questions are:

- What do other compilers do? Can you come up with the similar tests (`@t21_*`) in C, and post godbolt links?
- Have you tried using this patch? Does stage-2 of llvm build fine, and tests pass? testsuite?


https://reviews.llvm.org/D45653





More information about the llvm-commits mailing list