aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/XCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-28 08:47:39 +0000
committerChris Lattner <sabre@nondot.org>2010-03-28 08:47:39 +0000
commitd9a0890b452c4c6f3dd31c2bc5da44730400274a (patch)
tree3c1e95b83d307b380f9eb9956cd28277e9b6bd3a /lib/Target/XCore
parent8b09306a76d9260af846a841f414bb10833a52fa (diff)
downloadexternal_llvm-d9a0890b452c4c6f3dd31c2bc5da44730400274a.zip
external_llvm-d9a0890b452c4c6f3dd31c2bc5da44730400274a.tar.gz
external_llvm-d9a0890b452c4c6f3dd31c2bc5da44730400274a.tar.bz2
fix a type contradition: XCoreISD::RETSP has one argument, not zero.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore')
-rw-r--r--lib/Target/XCore/XCoreInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/XCore/XCoreInstrInfo.td b/lib/Target/XCore/XCoreInstrInfo.td
index 2e9a1e5..dd3cbc1 100644
--- a/lib/Target/XCore/XCoreInstrInfo.td
+++ b/lib/Target/XCore/XCoreInstrInfo.td
@@ -32,7 +32,7 @@ def XCoreBranchLink : SDNode<"XCoreISD::BL",SDT_XCoreBranchLink,
[SDNPHasChain, SDNPOptInFlag, SDNPOutFlag,
SDNPVariadic]>;
-def XCoreRetsp : SDNode<"XCoreISD::RETSP", SDTNone,
+def XCoreRetsp : SDNode<"XCoreISD::RETSP", SDTBrind,
[SDNPHasChain, SDNPOptInFlag]>;
def SDT_XCoreBR_JT : SDTypeProfile<0, 2,