summaryrefslogtreecommitdiff
path: root/test/example/local-graph.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-12-18 13:40:28 -0800
committerGitHub <noreply@github.com>2024-12-18 13:40:28 -0800
commit009078979a26b7f4ec99fdfe1929b26176575805 (patch)
treec959452030e090fd559090787dd47195f75190f5 /test/example/local-graph.cpp
parentc744bd18ce73b82cf23e64728a8167c61ae4e24a (diff)
downloadbinaryen-009078979a26b7f4ec99fdfe1929b26176575805.tar.gz
binaryen-009078979a26b7f4ec99fdfe1929b26176575805.tar.bz2
binaryen-009078979a26b7f4ec99fdfe1929b26176575805.zip
Handle atomic accesses in ConstantFieldPropagation (#7159)
Sequentially consistent gets that are optimized out need to have seqcst fences inserted in their place to keep the same effect on global ordering of sequentially consistent operations. In principle, acquire gets could be similarly optimized with an acquire fence in their place, but acquire fences synchronize more strongly than acquire gets, so this may have a negative performance impact. For now, inhibit optimization of acquire gets.
Diffstat (limited to 'test/example/local-graph.cpp')
0 files changed, 0 insertions, 0 deletions