[clang] [CIR] Implement support for MatrixSingleSubstract expr (PR #232079)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 14 13:46:16 PDT 2026
================
@@ -6636,22 +6635,25 @@ def CIR_MatrixExtractOp : CIR_Op<"matrix.extract", [
```
%rowIdx = cir.const #cir.int<1> : !u64i
%columnIdx = cir.const #cir.int<2> : !u64i
- %element = cir.matrix.extract %matrix[%rowIdx : !u64i] [%columnIdx : !u64i]
+ %row = cir.matrix.extract %matrix[%rowIdx : !s32i]
+ : !cir.matrix<3 x 3 x !cir.float>
----------------
erichkeane wrote:
Perhaps we should be printing the return type now, since it isn't consistently the element type.
https://github.com/llvm/llvm-project/pull/232079
More information about the cfe-commits
mailing list