[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:40:40 PST 2016


trentxintong added a comment.

I, too, hope readnone+nounwind functions can be speculatively executed, but it does not seem to be the case =). Thats why i think we need to use TLI to teach the optimizer about functions which can.


Repository:
  rL LLVM

https://reviews.llvm.org/D26930





More information about the llvm-commits mailing list