OSDN Git Service

fix a type contradition: XCoreISD::RETSP has one argument, not zero.
authorChris Lattner <sabre@nondot.org>
Sun, 28 Mar 2010 08:47:39 +0000 (08:47 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 28 Mar 2010 08:47:39 +0000 (08:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99760 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/XCore/XCoreInstrInfo.td

index 2e9a1e5..dd3cbc1 100644 (file)
@@ -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,