From 3c5198336c4e07d9d9e1f8f26b698487fb04e6e0 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sat, 10 Dec 2005 01:59:36 +0000 Subject: [PATCH] Use SDTCisPtrTy type property for store address. llvm-svn: 24656 --- llvm/lib/Target/TargetSelectionDAG.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/TargetSelectionDAG.td b/llvm/lib/Target/TargetSelectionDAG.td index 193a5c3e0b38..ef6201370729 100644 --- a/llvm/lib/Target/TargetSelectionDAG.td +++ b/llvm/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]>; //===----------------------------------------------------------------------===//