[Mlir-commits] [mlir] 96039b7 - [MLIR] Add nested symbols into LangRef
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Apr 4 09:37:22 PDT 2022
Author: Siddharth Bhat
Date: 2022-04-04T22:06:19+05:30
New Revision: 96039b73d8d287f1a9314f890362abfc9035c2d2
URL: https://github.com/llvm/llvm-project/commit/96039b73d8d287f1a9314f890362abfc9035c2d2
DIFF: https://github.com/llvm/llvm-project/commit/96039b73d8d287f1a9314f890362abfc9035c2d2.diff
LOG: [MLIR] Add nested symbols into LangRef
Add documentation into the LangRef for parsing nested symbols.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D122977
Added:
Modified:
mlir/docs/LangRef.md
Removed:
################################################################################
diff --git a/mlir/docs/LangRef.md b/mlir/docs/LangRef.md
index 23f09ef0b6004..a876d7ee7b188 100644
--- a/mlir/docs/LangRef.md
+++ b/mlir/docs/LangRef.md
@@ -203,7 +203,7 @@ bare-id-list ::= bare-id (`,` bare-id)*
value-id ::= `%` suffix-id
suffix-id ::= (digit+ | ((letter|id-punct) (letter|id-punct|digit)*))
-symbol-ref-id ::= `@` (suffix-id | string-literal)
+symbol-ref-id ::= `@` (suffix-id | string-literal) (`::` symbol-ref-id)?
value-id-list ::= value-id (`,` value-id)*
// Uses of value, e.g. in an operand list to an operation.
More information about the Mlir-commits
mailing list