[PATCH] D130466: [LICM] - Add option to allow data races
Shubham Narlawar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 31 04:20:48 PDT 2022
gsocshubham updated this revision to Diff 456922.
gsocshubham edited the summary of this revision.
gsocshubham added a comment.
1. Change ThreadModel::Model getThreadModel() to bool isSingleThreaded()
2. Remove inclusion of TargetOptions at various places.
3. Prohibit this transformation if store points to constant memory using bool PointToConstantMemory.
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.456922.patch
Type: text/x-patch
Size: 16501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220831/bb752d80/attachment.bin>
More information about the llvm-commits
mailing list