aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKojo Acquah <KoolJBlack@users.noreply.github.com>2024-04-10 10:18:47 -0700
committerGitHub <noreply@github.com>2024-04-10 13:18:47 -0400
commit04bf1a4090c535e3a1033ab9a8ef92068166461f (patch)
tree361d5110b6235a627ae560bc23d1b208e8a798d7 /flang/lib/Frontend/CompilerInvocation.cpp
parent4dcf33b6c2806216dfe8c5e1e3582a45516dbc69 (diff)
downloadllvm-04bf1a4090c535e3a1033ab9a8ef92068166461f.zip
llvm-04bf1a4090c535e3a1033ab9a8ef92068166461f.tar.gz
llvm-04bf1a4090c535e3a1033ab9a8ef92068166461f.tar.bz2
Update `LowerContractionToSMMLAPattern` to ingnore matvec (#88288)
Patterns in `LowerContractionToSMMLAPattern` are designed to handle vector-to-matrix multiplication but not matrix-to-vector. This leads to the following error when processing `rhs` with rank < 2: ``` iree-compile: /usr/local/google/home/kooljblack/code/iree-build/llvm-project/tools/mlir/include/mlir/IR/BuiltinTypeInterfaces.h.inc:268: int64_t mlir::detail::ShapedTypeTrait<mlir::VectorType>::getDimSize(unsigned int) const [ConcreteType = mlir::VectorType]: Assertion `idx < getRank() && "invalid index for shaped type"' failed. ``` Updates to explicitly check the rhs rank and fail cases that cannot process.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions