[PATCH] D130466: [LICM] - Add option to allow data races

Shubham Narlawar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 10 10:08:17 PDT 2022


gsocshubham updated this revision to Diff 459293.
gsocshubham added a comment.

Move checks (TTI->isSingleThreaded() || SingleThread) inside bool isThreadLocalObject()


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

https://reviews.llvm.org/D130466

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/include/llvm/Transforms/Utils/LoopUtils.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Transforms/Scalar/LICM.cpp
  llvm/test/Transforms/LICM/promote-sink-store.ll
  llvm/test/Transforms/LICM/without-force-thread-model-single.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130466.459293.patch
Type: text/x-patch
Size: 16786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220910/00e8d1d6/attachment-0001.bin>


More information about the llvm-commits mailing list