aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-09-21 17:30:54 +0000
committerChris Lattner <sabre@nondot.org>2004-09-21 17:30:54 +0000
commit8cbee4ea5bcee45649ac05845e786034f515df70 (patch)
tree81e13cc510d24190522c734f448234e76cbee04a
parent8b93e7ae4ad75b1a4998362710c1815ba58a9f0f (diff)
Make sure to set the operand list
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16466 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Skeleton/SkeletonInstrInfo.td11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/Target/Skeleton/SkeletonInstrInfo.td b/lib/Target/Skeleton/SkeletonInstrInfo.td
index 33902b57c1..c10af8a9ad 100644
--- a/lib/Target/Skeleton/SkeletonInstrInfo.td
+++ b/lib/Target/Skeleton/SkeletonInstrInfo.td
@@ -21,19 +21,20 @@ def IForm : Format<1>;
def BForm : Format<2>;
// Look at how other targets factor commonality between instructions.
-class SkelInst<string nm, bits<6> opcd, Format f> : Instruction {
+class SkelInst<string nm, bits<6> opcd, dag ops, Format f> : Instruction {
let Namespace = "Skeleton";
let Name = nm;
+ let OperandList = ops;
bits<6> Opcode = opcd;
Format Form = f;
bits<4> FormBits = Form.Value;
}
// Pseudo-instructions:
-def PHI : SkelInst<"PHI", 0, Pseudo>; // PHI node...
-def NOP : SkelInst<"NOP", 0, Pseudo>; // No-op
-def ADJCALLSTACKDOWN : SkelInst<"ADJCALLSTACKDOWN", 0, Pseudo>;
-def ADJCALLSTACKUP : SkelInst<"ADJCALLSTACKUP", 0, Pseudo>;
+def PHI : SkelInst<"PHI", 0, (ops), Pseudo>; // PHI node...
+def NOP : SkelInst<"NOP", 0, (ops), Pseudo>; // No-op
+def ADJCALLSTACKDOWN : SkelInst<"ADJCALLSTACKDOWN", 0, (ops), Pseudo>;
+def ADJCALLSTACKUP : SkelInst<"ADJCALLSTACKUP", 0, (ops), Pseudo>;