[Mlir-commits] [mlir] b4865dd - [MLIR] Add nested symbols into LangRef

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Apr 4 09:29:56 PDT 2022


Author: Groverkss
Date: 2022-04-04T21:59:44+05:30
New Revision: b4865dd67f05a4c4680eaa6d257553a48bc704e0

URL: https://github.com/llvm/llvm-project/commit/b4865dd67f05a4c4680eaa6d257553a48bc704e0
DIFF: https://github.com/llvm/llvm-project/commit/b4865dd67f05a4c4680eaa6d257553a48bc704e0.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