[clang] [llvm] Add InterlockedAdd resource methods (PR #208128)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 15 07:31:22 PDT 2026


================
@@ -1210,6 +1237,9 @@ class OpLowerer {
       case Intrinsic::dx_resource_updatecounter:
         HasErrors |= lowerUpdateCounter(F);
         break;
+      case Intrinsic::dx_resource_atomicbinop:
+        HasErrors |= lowerResourceAtomicBinOp(F);
+        break;
----------------
farzonl wrote:

yeah since we are not using tablegen for these it seems like we could just trigger on the llvm instruction and don't need to introduce new intrinsics.

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


More information about the cfe-commits mailing list