[PATCH] D134266: Introduce predicate for a atomic operations in GMIR

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 20 17:28:45 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/TargetInstrInfo.h:114
+  static bool isGenericAtomicOpcode(unsigned Opc) {
+    return TargetOpcode::GENERIC_ATOMIC_OP_START <= Opc &&
+           Opc <= TargetOpcode::GENERIC_ATOMIC_OP_END;
----------------
Opc >= START?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134266



More information about the llvm-commits mailing list