[Mlir-commits] [mlir] [mlir][SPIRV] Do not rewrite CompositeInsert for coopmatrix (PR #137837)
Jakub Kuderski
llvmlistbot at llvm.org
Tue Apr 29 13:26:54 PDT 2025
================
@@ -84,6 +84,9 @@ void RewriteInsertsPass::runOnOperation() {
LogicalResult RewriteInsertsPass::collectInsertionChain(
spirv::CompositeInsertOp op,
SmallVectorImpl<spirv::CompositeInsertOp> &insertions) {
+ if (llvm::isa<spirv::CooperativeMatrixType>(op.getComposite().getType()))
----------------
kuhar wrote:
```suggestion
if (isa<spirv::CooperativeMatrixType>(op.getComposite().getType()))
```
https://github.com/llvm/llvm-project/pull/137837
More information about the Mlir-commits
mailing list