[PATCH] D125350: [PoC][Clang] Add a check if the target supports atomicrmw instruction with specific operator and type

Shilei Tian via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 10 20:24:21 PDT 2022


tianshilei1992 added inline comments.


================
Comment at: clang/lib/Basic/Targets/NVPTX.cpp:311
+    }
+    return false;
+  }
----------------
`llvm_unreachable` might be more appropriate here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125350



More information about the cfe-commits mailing list