Use SDTCisPtrTy type property for store address.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24656 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2005-12-10 01:59:36 +00:00
parent ba7fa0b5d4
commit b612ff9569

View File

@ -138,7 +138,7 @@ def SDTLoad : SDTypeProfile<1, 1, [ // load
]>;
def SDTStore : SDTypeProfile<0, 2, [ // store
SDTCisInt<1>
SDTCisPtrTy<1>
]>;
//===----------------------------------------------------------------------===//
@ -230,7 +230,7 @@ def ret : SDNode<"ISD::RET" , SDTRet, [SDNPHasChain]>;
def writeport : SDNode<"ISD::WRITEPORT" , SDTWritePort, [SDNPHasChain]>;
def load : SDNode<"ISD::LOAD" , SDTLoad, [SDNPHasChain]>;
def load : SDNode<"ISD::LOAD" , SDTLoad, [SDNPHasChain]>;
def store : SDNode<"ISD::STORE" , SDTStore, [SDNPHasChain]>;
//===----------------------------------------------------------------------===//