[clang] [CIR][NFC] Cleanup unhandled NYI in atomic libcall codegen (PR #223732)
Sirui Mu via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 15 08:51:14 PDT 2026
================
@@ -1262,50 +1262,28 @@ static RValue emitLibCallForAtomicExpr(CIRGenFunction &cgf, AtomicExpr *e,
case AtomicExpr::AO__atomic_store:
case AtomicExpr::AO__atomic_store_n:
case AtomicExpr::AO__c11_atomic_store:
+ case AtomicExpr::AO__hip_atomic_store:
----------------
Lancern wrote:
Oh I mean that the OpenCL atomic builtins are NYI later in this `emitLibCallForAtomicExpr` function:
https://github.com/llvm/llvm-project/blob/81353cba9f68d1beb5fe220b693f9dc3646d990c/clang/lib/CIR/CodeGen/CIRGenAtomic.cpp#L1373-L1377
https://github.com/llvm/llvm-project/blob/81353cba9f68d1beb5fe220b693f9dc3646d990c/clang/lib/CIR/CodeGen/CIRGenAtomic.cpp#L1389-L1393
https://github.com/llvm/llvm-project/pull/223732
More information about the cfe-commits
mailing list