[PATCH] D129841: [GlobalOpt] Enable evaluation of atomic stores

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 14:37:08 PDT 2022


efriedma added a comment.

> P.S. Worth noting that https://godbolt.org/z/WKqh7TvbW (line 79: .word 5) (but this is happening due to Clang's frontend, not LLVM's optimizer)

Constructing an std::atomic is not an atomic operation.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129841/new/

https://reviews.llvm.org/D129841



More information about the llvm-commits mailing list