summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/WasmDumper.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <quentin.colombet@gmail.com>2019-02-07 21:27:23 +0000
committerQuentin Colombet <quentin.colombet@gmail.com>2019-02-07 21:27:23 +0000
commit96f54de8ff5d357fadcf474823f70288561923bf (patch)
tree5f458880c0e8823862215080eafd91f82ce0447e /llvm/tools/llvm-readobj/WasmDumper.cpp
parent82bf8e82c96b79fcafea5d0026feab24a270e9af (diff)
downloadbcm5719-llvm-96f54de8ff5d357fadcf474823f70288561923bf.tar.gz
bcm5719-llvm-96f54de8ff5d357fadcf474823f70288561923bf.zip
[InstCombine] Optimize `atomicrmw <op>, 0` into `load atomic` when possible
This commit teaches InstCombine how to replace an atomicrmw operation into a simple load atomic. For a given `atomicrmw <op>`, this is possible when: 1. The ordering of that operation is compatible with a load (i.e., anything that doesn't have a release semantic). 2. <op> does not modify the value being stored Differential Revision: https://reviews.llvm.org/D57854 llvm-svn: 353471
Diffstat (limited to 'llvm/tools/llvm-readobj/WasmDumper.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud