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

Finn Plummer via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 23 16:56:28 PDT 2024


================
@@ -105,20 +105,46 @@ class OpLowerer {
     return false;
   }
 
-  [[nodiscard]]
-  bool replaceFunctionWithOp(Function &F, dxil::OpCode DXILOp) {
+  struct ArgSelect {
+    enum class Type {
+      Index,
+      I8,
+      I32,
+    };
+    Type Type = Type::Index;
+    int Value = -1;
----------------
inbelic wrote:

The default value here `int Value = -1` is different than the default value of the other defined `ArgSelect`.

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


More information about the llvm-commits mailing list