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

Shubham Narlawar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 01:47:56 PDT 2022


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

Fix review comments -

1. Rename LICM flag to -licm-force-thread-model-single

2. Use thread model info from TargetOptions instead of passing from clang to llvm


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-allow-data-race.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130466.454415.patch
Type: text/x-patch
Size: 15611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220822/0d7d0bc4/attachment.bin>


More information about the llvm-commits mailing list