diff options
author | Thomas Lively <tlively@google.com> | 2024-12-20 12:08:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-20 12:08:35 -0800 |
commit | 793e07369902026b727c5c4bc16a72ad3e4950e4 (patch) | |
tree | 5787dd3a26803c0d41d24bb1e2fa4420a2fe1a18 /scripts/update_lit_checks.py | |
parent | 7c42700738fa9f9aff29dd930e9fd7f6cf71fc29 (diff) | |
download | binaryen-793e07369902026b727c5c4bc16a72ad3e4950e4.tar.gz binaryen-793e07369902026b727c5c4bc16a72ad3e4950e4.tar.bz2 binaryen-793e07369902026b727c5c4bc16a72ad3e4950e4.zip |
Update GlobalStructInference to handle atomics (#7168)
GlobalStructInference optimizes gets of immutable fields of structs that
are only ever instantiated to initialize immutable globals. Due to all
the immutability, it's not possible for the optimized reads to
synchronize with any writes via the accessed memory, so we just need to
be careful to replace removed seqcst gets with seqcst fences.
As a drive-by, fix some stale comments in gsi.wast.
Diffstat (limited to 'scripts/update_lit_checks.py')
0 files changed, 0 insertions, 0 deletions