[PATCH] D32782: Add pthread_self function prototype and make it speculatable.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Sat May 20 15:51:50 PDT 2017


Couldn't pthread_self() return a different value if fork() is called in the
body of the loop?

Peter

On Sat, May 20, 2017 at 3:40 PM, Xin Tong via Phabricator via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> This revision was automatically updated to reflect the committed changes.
> Closed by commit rL303495: Add pthread_self function prototype and make it
> speculatable. (authored by trentxintong).
>
> Changed prior to commit:
>   https://reviews.llvm.org/D32782?vs=97678&id=99681#toc
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D32782
>
> Files:
>   llvm/trunk/include/llvm/Analysis/TargetLibraryInfo.def
>   llvm/trunk/lib/Analysis/TargetLibraryInfo.cpp
>   llvm/trunk/lib/Transforms/Utils/BuildLibCalls.cpp
>   llvm/trunk/test/Transforms/LICM/pthread.ll
>   llvm/trunk/unittests/Analysis/TargetLibraryInfoTest.cpp
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
>


-- 
-- 
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170520/6e5994d6/attachment.html>


More information about the llvm-commits mailing list