[PATCH] D88921: [MemCpyOpt] Fix thread-safety of call slot opimization

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 6 18:01:22 PDT 2020


efriedma added a comment.

> If the caller is nosync there is no need for all this thread safety checking.

I'm not sure nosync helps here?  The issue this patch is trying to solve is the case where the memcpy is dynamically dead due to an infinite loop; there isn't any synchronization involved.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88921/new/

https://reviews.llvm.org/D88921



More information about the llvm-commits mailing list