On Sat, Aug 5, 2017 at 4:35 PM, Craig Topper via cfe-commits
<cfe-commits@lists.llvm.org> wrote:
> Author: ctopper
> Date: Sat Aug  5 16:35:54 2017
> New Revision: 310191
>
> URL: http://llvm.org/viewvc/llvm-project?rev=310191&view=rev
> Log:
> [X86] Enable isel to use the PAUSE instruction even when SSE2 is disabled. 
> Clang part
>
> Summary:
> On older processors this instruction encoding is treated as a NOP.
>
> MSVC doesn't disable intrinsics based on features the way clang/gcc does. 
> Because the PAUSE instruction encoding doesn't crash older processors, some 
> software out there uses these intrinsics without checking for SSE2.
>
> This change also seems to also be consistent with gcc behavior.
>
> Fixes PR34079
>
> Reviewers: RKSimon, zvi
>
> Reviewed By: RKSimon
>
> Subscribers: cfe-commits
>
> Differential Revision: https://reviews.llvm.org/D36362

Merged to 5.0 in r310294.
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to