[PATCH] D129841: [GlobalOpt] Enable evaluation of atomic stores
Alexander Shaposhnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 19 15:33:07 PDT 2022
alexander-shaposhnikov added a comment.
@dvyukov, @efriedma, right, thanks for the comments!
Just wanted to add a few words about the motivation for this change: https://godbolt.org/z/4z59PvWhc - since the evaluator stops when it sees an atomic store the optimization doesn't apply (in particular, the optimization for "x" is lost).
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