[Mlir-commits] [mlir] [mlir][xegpu] DCE decl in TD (PR #121249)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Dec 27 20:53:46 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-gpu

Author: Maksim Levental (makslevental)

<details>
<summary>Changes</summary>

This builder isn't implemented and so the decl causes linker errors in certain build configurations.

---
Full diff: https://github.com/llvm/llvm-project/pull/121249.diff


1 Files Affected:

- (modified) mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td (+2-4) 


``````````diff
diff --git a/mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td b/mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
index 2aaa7fd4221ab1..4841f94de75f4a 100644
--- a/mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
+++ b/mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
@@ -164,11 +164,9 @@ def XeGPU_SGMapAttr : XeGPUAttr<"SGMap", "sg_map"> {
   }];
   let parameters = (ins
     ArrayRefParameter<"uint32_t">:$wi_layout,
-    ArrayRefParameter<"uint32_t">:$wi_data);
+    ArrayRefParameter<"uint32_t">:$wi_data
+  );
 
-  let builders = [
-    AttrBuilder<(ins)>
-  ];
 
   let hasCustomAssemblyFormat = 1;
   let genVerifyDecl = 1;

``````````

</details>


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


More information about the Mlir-commits mailing list