Enhance fix of PR17631

Michael Liao michael.liao at intel.com
Mon Dec 2 09:28:17 PST 2013


Kindly ping in case it's missing during the long weekend. Patch is
re-attached.

Yours
- Michael

On Sat, 2013-11-30 at 00:09 -0800, Michael Liao wrote:
> Hi All,
> 
> It's turned out that a previous fix to PR17631 is not enough to cover
> cases where 'CALL' need special handling for 'vzeroupper' insertion. In
> addition to helper calls added in prolog, helper calls (not following
> any well-defined calling convention) may be also inserted other places,
> such as '_ftol2' for double-to-i64 conversion in Windows. The attached
> patch enhances the previous fix by checking if the call will clobber any
> YMM registers after checking that 'call' won't touch YMMs. It will cover
> the cases where isel-lower inserts helper calls not following standard
> calling convention.
> 
> Thanks for review
> - Michael
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Enhance-the-fix-of-PR17631.patch
Type: text/x-patch
Size: 4325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131202/785df6b4/attachment.bin>


More information about the llvm-commits mailing list