[PATCH] D141277: [InstCombine] Don't optimize idempotent `atomicrmw <op>, 0` into `load atomic`
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 18 23:51:32 PST 2023
qcolombet added a comment.
> AtomicExpand also tries the same transform (which for some reason is done in an x86 specific way, so this might be incomplete anyway)
Yeah, I believe there would be some subtle issues doing that in a generic way.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141277/new/
https://reviews.llvm.org/D141277
More information about the llvm-commits
mailing list