mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-28 06:58:19 +00:00
Make imm be a leaf instead of a nonterminal
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7708 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9552b8c159
commit
f8dfa6ff9b
@ -178,7 +178,7 @@ class BuiltinDagNode<DagNodeValType Ret, list<DagNodeValType> Args,
|
||||
def set : DagNode<DNVT_void, [DNVT_val, DNVT_arg0]>;
|
||||
|
||||
// Terminals...
|
||||
def Constant : BuiltinDagNode<DNVT_val, [], "Contant">;
|
||||
def imm : BuiltinDagNode<DNVT_val, [], "Constant">;
|
||||
// def frameidx : BuiltinDagNode<DNVT_ptr, [], "FrameIndex">;
|
||||
|
||||
// Arithmetic...
|
||||
@ -206,5 +206,5 @@ class Nonterminal<dag pattern> {
|
||||
}
|
||||
|
||||
// imm - Immediate value...
|
||||
def imm : Nonterminal<(Constant)> { let BuiltIn = 1; }
|
||||
//def imm : Nonterminal<(Constant)> { let BuiltIn = 1; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user