mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
Add globaladdress and targetglobaladdress nodes for dag patterns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24389 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bae5b3c1c6
commit
db40dc2d63
@ -140,6 +140,10 @@ def imm : SDNode<"ISD::Constant" , SDTImm , [], "ConstantSDNode">;
|
||||
def vt : SDNode<"ISD::VALUETYPE" , SDTVT , [], "VTSDNode">;
|
||||
def cond : SDNode<"ISD::CONDCODE" , SDTVT , [], "CondCodeSDNode">;
|
||||
def undef : SDNode<"ISD::UNDEF" , SDTUNDEF , []>;
|
||||
def globaladdr : SDNode<"ISD::GlobalAddress", SDTImm, [],
|
||||
"GlobalAddressSDNode">;
|
||||
def tglobaladdr : SDNode<"ISD::TargetGlobalAddress", SDTImm, [],
|
||||
"GlobalAddressSDNode">;
|
||||
def add : SDNode<"ISD::ADD" , SDTIntBinOp ,
|
||||
[SDNPCommutative, SDNPAssociative]>;
|
||||
def sub : SDNode<"ISD::SUB" , SDTIntBinOp>;
|
||||
|
Loading…
Reference in New Issue
Block a user