mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Update the polygen grammer for the new insertvalue and extractvalue syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51879 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d82e511aec
commit
34e71fe29d
@ -223,8 +223,8 @@ ConstExpr::= CastOps "(" ^ ConstVal to Types ^ ")"
|
||||
| extractelement "(" ^ ConstVal ^ "," ConstVal ^ ")"
|
||||
| insertelement "(" ^ ConstVal ^ "," ConstVal ^ "," ConstVal ^ ")"
|
||||
| shufflevector "(" ^ ConstVal ^ "," ConstVal ^ "," ConstVal ^ ")"
|
||||
| extractvalue "(" ^ ConstVal IndexList ^ ")"
|
||||
| insertvalue "(" ^ ConstVal ^ "," ConstVal IndexList ^ ")" ;
|
||||
| extractvalue "(" ^ ConstVal ^ ConstantIndexList ^ ")"
|
||||
| insertvalue "(" ^ ConstVal ^ "," ConstVal ^ ConstantIndexList ^ ")" ;
|
||||
|
||||
ConstVector ::= ConstVector ^ "," ConstVal | ConstVal ;
|
||||
|
||||
@ -345,6 +345,8 @@ ParamList ::= Types OptParamAttrs ValueRef OptParamAttrs
|
||||
|
||||
IndexList ::= _ | IndexList ^ "," ResolvedVal ;
|
||||
|
||||
ConstantIndexList ::= "," EUINT64VAL | ConstantIndexList ^ "," EUINT64VAL ;
|
||||
|
||||
OptTailCall ::= tail call | call ;
|
||||
|
||||
InstVal ::=
|
||||
@ -376,5 +378,5 @@ MemoryInst ::= malloc Types OptCAlign
|
||||
| OptVolatile store ResolvedVal ^ "," Types ValueRef OptCAlign
|
||||
| getresult Types ValueRef ^ "," EUINT64VAL
|
||||
| getelementptr Types ValueRef IndexList
|
||||
| extractvalue Types ValueRef IndexList
|
||||
| insertvalue Types ValueRef ^ "," Types ValueRef IndexList ;
|
||||
| extractvalue Types ValueRef ^ ConstantIndexList
|
||||
| insertvalue Types ValueRef ^ "," Types ValueRef ^ ConstantIndexList ;
|
||||
|
Loading…
Reference in New Issue
Block a user