[Mlir-commits] [mlir] [mlir][doc][SPIR-V] Add missing `>` (PR #110464)

MingZhu Yan llvmlistbot at llvm.org
Mon Sep 30 01:12:53 PDT 2024


https://github.com/trdthg created https://github.com/llvm/llvm-project/pull/110464

![image](https://github.com/user-attachments/assets/c3a8761f-647f-4a52-a68c-06a4cb543924)

If I'm not mistaken, there should be a right bracket here?

>From 67ceee83b75b1fe536e65778bf84cbddefc8618b Mon Sep 17 00:00:00 2001
From: MingZhu Yan <yanmingzhu at iscas.ac.cn>
Date: Mon, 30 Sep 2024 16:09:42 +0800
Subject: [PATCH] [mlir][doc][SPIR-V] Add missing `>`

Signed-off-by: MingZhu Yan <yanmingzhu at iscas.ac.cn>
---
 mlir/docs/Dialects/SPIR-V.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlir/docs/Dialects/SPIR-V.md b/mlir/docs/Dialects/SPIR-V.md
index 51ba3482a379ab..c1d50f0fbe4071 100644
--- a/mlir/docs/Dialects/SPIR-V.md
+++ b/mlir/docs/Dialects/SPIR-V.md
@@ -388,7 +388,7 @@ This corresponds to SPIR-V [struct type][StructType]. Its syntax is
 ```
 struct-member-decoration ::= integer-literal? spirv-decoration*
 struct-type ::= `!spirv.struct<` spirv-type (`[` struct-member-decoration `]`)?
-                     (`, ` spirv-type (`[` struct-member-decoration `]`)?
+                     (`, ` spirv-type (`[` struct-member-decoration `]`)? `>`
 ```
 
 For Example,



More information about the Mlir-commits mailing list