[Mlir-commits] [mlir] [MLIR][Linalg] Introduce linalg.contract (PR #123618)
Erich Keane
llvmlistbot at llvm.org
Thu Jan 30 12:48:15 PST 2025
erichkeane wrote:
I have clang-10 on my machine, and this doesn't compile!
See:
```
/local/home/ekeane/llvm-project/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp:3536:12: error: call to constructor of 'FailureOr<mlir::ArrayAttr>' is ambiguous
return {nullptr}; // Success in case indexing_maps was not provided.
^~~~~~~~~
/local/home/ekeane/llvm-project/llvm/include/llvm/Support/LogicalResult.h:80:3: note: candidate constructor
FailureOr(LogicalResult Result) {
^
/local/home/ekeane/llvm-project/llvm/include/llvm/Support/LogicalResult.h:85:3: note: candidate constructor
FailureOr(T &&Y) : std::optional<T>(std::forward<T>(Y)) {}
^
/local/home/ekeane/llvm-project/llvm/include/llvm/Support/LogicalResult.h:86:3: note: candidate constructor
FailureOr(const T &Y) : std::optional<T>(Y) {}
^
1 error generated.
```
https://github.com/llvm/llvm-project/pull/123618
More information about the Mlir-commits
mailing list