Skip to content

Commit

Permalink
grammar: add scalable vector type
Browse files Browse the repository at this point in the history
Updates llir/llvm#101.
  • Loading branch information
mewmew committed Oct 31, 2019
1 parent 1f5fcd1 commit 3b4b8e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ll.tm
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ int_type_tok : /i[0-9]+/
'va_arg' : /va_arg/
'void' : /void/
'volatile' : /volatile/
'vscale' : /vscale/
'weak' : /weak/
'weak_odr' : /weak_odr/
'webkit_jscc' : /webkit_jscc/
Expand Down Expand Up @@ -1211,6 +1212,7 @@ PointerType -> PointerType
VectorType -> VectorType
: '<' Len=UintLit 'x' Elem=Type '>'
| '<' 'vscale' 'x' Len=UintLit 'x' Elem=Type '>' -> VscaleVectorType
;
# --- [ Label Types ] ----------------------------------------------------------
Expand Down

0 comments on commit 3b4b8e2

Please sign in to comment.