[PATCH] D57854: [InstCombine] Optimize `atomicrmw <op>, 0` into `load atomic` when possible
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 6 16:32:02 PST 2019
qcolombet updated this revision to Diff 185675.
qcolombet added a comment.
Update:
- Switch to listing valid ordering instead of invalid ones
- Don't apply the transformation on volatile atomicrmw
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57854/new/
https://reviews.llvm.org/D57854
Files:
lib/Transforms/InstCombine/CMakeLists.txt
lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp
lib/Transforms/InstCombine/InstCombineInternal.h
test/Transforms/InstCombine/atomicrmw.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57854.185675.patch
Type: text/x-patch
Size: 6248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190207/294510f4/attachment.bin>
More information about the llvm-commits
mailing list