[Mlir-commits] [mlir] [mlir][mesh] Fix build breakage (PR #74362)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Dec 4 11:38:31 PST 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Krzysztof Parzyszek (kparzysz)

<details>
<summary>Changes</summary>

```
/usr/bin/ld: CMakeFiles/obj.MLIRMeshDialect.dir/MeshOps.cpp.o: in function
 `mlir::mesh::BroadcastOp::print(mlir::OpAsmPrinter&) [clone .localalias]':
MeshOps.cpp:(.text._ZN4mlir4mesh11BroadcastOp5printERNS_12OpAsmPrinterE+0x2 d3): undefined reference to `mlir::printDynamicIndexList(mlir::OpAsmPrinter&, mlir::Operation*, mlir::OperandRange, llvm::ArrayRef<long>, mlir::TypeRange, llvm::ArrayRef<bool>, mlir::AsmParser::Delimiter)'
```

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


1 Files Affected:

- (modified) mlir/lib/Dialect/Mesh/IR/CMakeLists.txt (+1) 


``````````diff
diff --git a/mlir/lib/Dialect/Mesh/IR/CMakeLists.txt b/mlir/lib/Dialect/Mesh/IR/CMakeLists.txt
index 700e6e21f36b6..634a94f8cec87 100644
--- a/mlir/lib/Dialect/Mesh/IR/CMakeLists.txt
+++ b/mlir/lib/Dialect/Mesh/IR/CMakeLists.txt
@@ -13,4 +13,5 @@ add_mlir_dialect_library(MLIRMeshDialect
   MLIRArithDialect
   MLIRIR
   MLIRSupport
+  MLIRViewLikeInterface
 )

``````````

</details>


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


More information about the Mlir-commits mailing list