[all-commits] [llvm/llvm-project] 8f9aac: [mlir][vector] Fix invalid IR in `vector.print` lo...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Tue Dec 5 16:44:16 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8f9aac44279dbc1e7fdc5e4263da2b237db0cfc1
https://github.com/llvm/llvm-project/commit/8f9aac44279dbc1e7fdc5e4263da2b237db0cfc1
Author: Matthias Springer <me at m-sp.org>
Date: 2023-12-06 (Wed, 06 Dec 2023)
Changed paths:
M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
Log Message:
-----------
[mlir][vector] Fix invalid IR in `vector.print` lowering (#74410)
`DecomposePrintOpConversion` used to generate invalid op such as:
```
error: 'arith.extsi' op operand type 'vector<10xi32>' and result type 'vector<10xi32>' are cast incompatible
vector.print %v9 : vector<10xi32>
```
This commit fixes tests such as
`mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i32.mlir` when
verifying the IR after each pattern application (#74270).
More information about the All-commits
mailing list