Use SDTCisPtrTy type property for store address.

llvm-svn: 24656
This commit is contained in:
Evan Cheng 2005-12-10 01:59:36 +00:00
parent 0da396ffe2
commit 3c5198336c
1 changed files with 2 additions and 2 deletions

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]>;
//===----------------------------------------------------------------------===//