Fix GCC build problem with 288f05f related to SmallVector. (#116958)
commitd0d726e56da39bfbc583769a673842c0f05e72cb
authorMd Asghar Ahmad Shahid <md.asghar.ahmad.shahid@intel.com>
Wed, 20 Nov 2024 13:40:42 +0000 (20 19:10 +0530)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 13:40:42 +0000 (20 07:40 -0600)
tree4a4f242244de65bb581b5a49af9755cca767eca2
parentc0fdedfedf16317253619aa65b7c60102aa36fee
Fix GCC build problem with 288f05f related to SmallVector. (#116958)

Below is the error message for reference.

/llvm-project/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp: In static member
function 'static llvm::SmallVector<mlir::AffineMap>
mlir::linalg::MatmulOp::getDefaultIndexingMaps(mlir::MLIRContext*)':
/llvm-project/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp:3468:10: error:
could not convert 'indexingMaps' from 'SmallVector<[...],3>' to
'SmallVector<[...],6>'
 3468 |   return indexingMaps;
      |          ^~~~~~~~~~~~
      |          |
      |          SmallVector<[...],3>

Here is the link to the failure.
https://lab.llvm.org/buildbot/#/builders/117/builds/3919
...
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp