[llvm-commits] [PATCH][Review Request]Alternative Calling Convention
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Oct 15 10:01:24 PDT 2012
On Oct 14, 2012, at 6:00 AM, "Demikhovsky, Elena" <elena.demikhovsky at intel.com> wrote:
> Hi Jacob,
>
> Thank you for the review.
>
> I removed CALL_ALT_SIMD, changed CalleeSavedRegs and added a test for prolog-epilog.
> I specified CSR_64_Alt_SIMD_AVX and CSR_64_Alt_SIMD separately,
> otherwise, if I specify YMM only,
> I see correct code on AVX and the both YMM and XMM spill/fill on SSE architecture.
Thanks, Elena.
The code looks good to me now.
Please use a different name for the calling convention, though. "Alt" is not very descriptive.
Since this calling convention causes subtle miscompilations when calling non-AVX code from AVX code, I think it would be a good idea to mention that in the comment.
/jakob
More information about the llvm-commits
mailing list