[PATCH] D142097: [InstCombine] Don't replace unused `atomicrmw xchg` with `atomic store`

Ralf via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 06:25:26 PST 2023


RalfJung added a comment.

I agree this optimization should not be performed. Also see https://github.com/llvm/llvm-project/issues/60418 for a counterexample.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142097



More information about the llvm-commits mailing list