[llvm] [DXIL] Add GroupMemoryBarrierWithGroupSync intrinsic (PR #114349)

Adam Yang via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 6 13:21:15 PST 2024


================
@@ -294,6 +294,43 @@ class Attributes<Version ver = DXIL1_0, list<DXILAttribute> attrs> {
   list<DXILAttribute> op_attrs = attrs;
 }
 
+class DXILConstant<int value_> {
+  int value = value_;
+}
+
+defset list<DXILConstant> BarrierModes = {
----------------
adam-yang wrote:

I did not know about `defvar`. New change got rid of it. Thank you.

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


More information about the llvm-commits mailing list