[llvm-commits] CVS: llvm/lib/Target/Target.td

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 1 02:36:54 PDT 2004



Changes in directory llvm/lib/Target:

Target.td updated: 1.28 -> 1.29

---
Log message:

Add some immediate forms, make name optional


---
Diffs of the changes:  (+5 -2)

Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.28 llvm/lib/Target/Target.td:1.29
--- llvm/lib/Target/Target.td:1.28	Sat Jul 31 23:40:43 2004
+++ llvm/lib/Target/Target.td	Sun Aug  1 04:36:44 2004
@@ -106,7 +106,7 @@
 // the Target/TargetInstrInfo.h file.
 //
 class Instruction {
-  string Name;              // The opcode string for this instruction
+  string Name = "";         // The opcode string for this instruction
   string Namespace = "";
 
   dag OperandList;          // An dag containing the MI operand list.
@@ -151,7 +151,10 @@
 /// list for an instruction.  This should be used like this:
 ///     (ops R32:$dst, R32:$src) or something similar.
 def ops;
-
+def i8imm;
+def i16imm;
+def i32imm;
+def i64imm;
 
 //===----------------------------------------------------------------------===//
 // Target - This class contains the "global" target information





More information about the llvm-commits mailing list