aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-03-13 23:07:40 +0000
committerDan Gohman <gohman@apple.com>2008-03-13 23:07:40 +0000
commit704df9fcbddd8bd6f358bef688ef51f8540dce4d (patch)
treeaba2f7b2f028a0856d8401ac1b5c68678f7f3c69
parent8131a50f44bd7ca5e78b08de6bea9671540d255e (diff)
Use SDTNone instead of duplicating it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48346 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/IA64/IA64InstrInfo.td3
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.td3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/Target/IA64/IA64InstrInfo.td b/lib/Target/IA64/IA64InstrInfo.td
index 0fa63ff124..3a266e78f4 100644
--- a/lib/Target/IA64/IA64InstrInfo.td
+++ b/lib/Target/IA64/IA64InstrInfo.td
@@ -21,8 +21,7 @@ include "IA64InstrFormats.td"
def IA64getfd : SDNode<"IA64ISD::GETFD", SDTFPToIntOp, []>;
-def SDT_IA64RetFlag : SDTypeProfile<0, 0, []>;
-def retflag : SDNode<"IA64ISD::RET_FLAG", SDT_IA64RetFlag,
+def retflag : SDNode<"IA64ISD::RET_FLAG", SDTNone,
[SDNPHasChain, SDNPOptInFlag]>;
//===---------
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td
index c9fba9d40c..a70d1419e8 100644
--- a/lib/Target/Sparc/SparcInstrInfo.td
+++ b/lib/Target/Sparc/SparcInstrInfo.td
@@ -127,8 +127,7 @@ def SDT_SPCall : SDTypeProfile<0, 1, [SDTCisVT<0, i32>]>;
def call : SDNode<"SPISD::CALL", SDT_SPCall,
[SDNPHasChain, SDNPOptInFlag, SDNPOutFlag]>;
-def SDT_SPRetFlag : SDTypeProfile<0, 0, []>;
-def retflag : SDNode<"SPISD::RET_FLAG", SDT_SPRetFlag,
+def retflag : SDNode<"SPISD::RET_FLAG", SDTNone,
[SDNPHasChain, SDNPOptInFlag]>;
//===----------------------------------------------------------------------===//