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:
Chris Lattner 2003-08-10 19:51:16 +00:00
parent 9552b8c159
commit f8dfa6ff9b

View File

@ -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; }