[llvm] [AtomicExpand] Preserve AA metadata when rewriting atomic operations (PR #206418)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 03:42:25 PDT 2026


ayrai-gb wrote:

`widenPartwordAtomicRMW` was the inspiration here since it already copies the full metadata set onto widened accesses, but I agree that precedent isn't a safety argument. Should I can add an `IsWidened` flag to avoid propagating `!tbaa`/ `!alias.scope`/ `!noalias` on both the widening paths?


https://github.com/llvm/llvm-project/pull/206418


More information about the llvm-commits mailing list