Enhance fix of PR17631

Michael Liao michael.liao at intel.com
Sat Nov 30 00:09:21 PST 2013


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

-------------- 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/20131130/2e9c812d/attachment.bin>


More information about the llvm-commits mailing list