[PATCH] D26930: Teach optimizer that pthread_self does not trap. It can be speculatively executed.

Xin Tong via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 15:11:13 PST 2016


trentxintong added a comment.

Because, if pthread_self could trap and is not guaranteed to execute. we cant pull it to the preheader.


Repository:
  rL LLVM

https://reviews.llvm.org/D26930





More information about the llvm-commits mailing list