[clang] [CIR][NFC] Fix indentation of op description (PR #228920)
Amr Hesham via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 4 10:06:08 PDT 2026
https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/228920
Fix the indentation of the MatrixColumnMajorLoadOp description
>From 9a1ba75b58fa81c68b0f67bf6207c21e99de0182 Mon Sep 17 00:00:00 2001
From: Amr Hesham <amr96 at programmer.net>
Date: Sun, 4 Oct 2026 19:05:14 +0200
Subject: [PATCH] [CIR][NFC] Fix indentation of op description
---
clang/include/clang/CIR/Dialect/IR/CIROps.td | 32 ++++++++++----------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/clang/include/clang/CIR/Dialect/IR/CIROps.td b/clang/include/clang/CIR/Dialect/IR/CIROps.td
index 3f02f619ced66..8082f31f24187 100644
--- a/clang/include/clang/CIR/Dialect/IR/CIROps.td
+++ b/clang/include/clang/CIR/Dialect/IR/CIROps.td
@@ -6384,27 +6384,27 @@ def CIR_MatrixColumnMajorLoadOp : CIR_Op<"matrix.column_major_load", [
]> {
let summary = "Matrix column major load";
let description = [{
- The `cir.matrix.column_major_load` operation provides a representation for
- the `__builtin_matrix_column_major_load` builtin and corresponds to the
- `llvm.matrix.column.major.load` intrinsic in LLVM IR.
+ The `cir.matrix.column_major_load` operation provides a representation for
+ the `__builtin_matrix_column_major_load` builtin and corresponds to the
+ `llvm.matrix.column.major.load` intrinsic in LLVM IR.
- This operation performs a load of any matrix type with a stride to compute
- the start address of the different columns.
+ This operation performs a load of any matrix type with a stride to compute
+ the start address of the different columns.
- The `stride` argument is the column stride which much be greater than or equal
- to `row`, giving the following 2x3 matrix `[[1, 2, 3], [4, 5, 6]]` with a
- stride of 2, the result matrix will be `[[1, 3, 5], [2, 4, 6]]`.
+ The `stride` argument is the column stride which much be greater than or equal
+ to `row`, giving the following 2x3 matrix `[[1, 2, 3], [4, 5, 6]]` with a
+ stride of 2, the result matrix will be `[[1, 3, 5], [2, 4, 6]]`.
- ```
- %result = cir.matrix.column_major_load %ptr : <!cir.float>, %stride : !u64i,
- !cir.matrix<2 x 3 x !cir.float>
+ ```
+ %result = cir.matrix.column_major_load %ptr : <!cir.float>, %stride : !u64i,
+ !cir.matrix<2 x 3 x !cir.float>
- %result = cir.matrix.column_major_load %ptr : <!cir.double>, %stride : !u64i,
- !cir.matrix<5 x 5 x !cir.double>
+ %result = cir.matrix.column_major_load %ptr : <!cir.double>, %stride : !u64i,
+ !cir.matrix<5 x 5 x !cir.double>
- %result = cir.matrix.column_major_load %ptr : <!cir.double>, %stride : !u64i
- volatile, !cir.matrix<5 x 5 x !cir.double>
- ```
+ %result = cir.matrix.column_major_load %ptr : <!cir.double>, %stride : !u64i
+ volatile, !cir.matrix<5 x 5 x !cir.double>
+ ```
}];
let arguments = (ins
More information about the cfe-commits
mailing list