[clang] [HLSL] Add `InterlockedExchange` function and resource methods (PR #222161)

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 21 20:54:28 PDT 2026


================
@@ -0,0 +1,29 @@
+// RUN: %clang_cc1 -std=hlsl202x -finclude-default-header -triple \
+// RUN:   dxil-pc-shadermodel6.6-library %s -emit-llvm -disable-llvm-passes -o - | \
+// RUN:   FileCheck %s --check-prefixes=CHECK,DXCHECK
+
+// SPIR-V codegen for RasterizerOrderedByteAddressBuffer is not implemented
+// yet (asserts in clang/lib/CodeGen/Targets/SPIR.cpp on
+// `!ResAttrs.IsROV && "Rasterizer order views not implemented for SPIR-V yet"`).
+// Add a `spirv-pc-vulkan1.3-library` RUN line here when SPIR-V ROV support
+// lands.
----------------
hekota wrote:

Consider adding a link to the issue: https://github.com/llvm/llvm-project/issues/124585

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


More information about the cfe-commits mailing list