[llvm-commits] CVS: llvm/lib/Target/Skeleton/SkeletonInstrInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Tue Sep 21 10:31:08 PDT 2004
Changes in directory llvm/lib/Target/Skeleton:
SkeletonInstrInfo.td updated: 1.2 -> 1.3
---
Log message:
Make sure to set the operand list
---
Diffs of the changes: (+6 -5)
Index: llvm/lib/Target/Skeleton/SkeletonInstrInfo.td
diff -u llvm/lib/Target/Skeleton/SkeletonInstrInfo.td:1.2 llvm/lib/Target/Skeleton/SkeletonInstrInfo.td:1.3
--- llvm/lib/Target/Skeleton/SkeletonInstrInfo.td:1.2 Fri Jul 16 02:11:10 2004
+++ llvm/lib/Target/Skeleton/SkeletonInstrInfo.td Tue Sep 21 12:30:54 2004
@@ -21,19 +21,20 @@
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>;
More information about the llvm-commits
mailing list