[PATCH] D137524: clang/AMDGPU: Emit atomicrmw for atomic_inc/dec builtins

Pravin Jagtap via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 14 21:13:12 PDT 2023


pravinjagtap accepted this revision as: pravinjagtap.
pravinjagtap added a comment.

LGTM, In the context of atomic optimizer, when we extend the support for `atomicInc` and `atomicDec`, I think, the visitor of AtomicRMWInst will find the potential candidate for optimization now instead of visitor of IntrinsicInst because of this change. Right ?


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

https://reviews.llvm.org/D137524



More information about the cfe-commits mailing list