aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2005-12-10 01:59:36 +0000
committerEvan Cheng <evan.cheng@apple.com>2005-12-10 01:59:36 +0000
commitb612ff956944014e6b637480487f00dbceda3b7e (patch)
tree12d92fba1707c6830c9d30c9c837866f64669a37 /lib
parentba7fa0b5d484f5ba926eca8432ae1d667693d657 (diff)
downloadexternal_llvm-b612ff956944014e6b637480487f00dbceda3b7e.zip
external_llvm-b612ff956944014e6b637480487f00dbceda3b7e.tar.gz
external_llvm-b612ff956944014e6b637480487f00dbceda3b7e.tar.bz2
Use SDTCisPtrTy type property for store address.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/TargetSelectionDAG.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/TargetSelectionDAG.td b/lib/Target/TargetSelectionDAG.td
index 193a5c3..ef62013 100644
--- a/lib/Target/TargetSelectionDAG.td
+++ b/lib/Target/TargetSelectionDAG.td
@@ -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]>;
//===----------------------------------------------------------------------===//