Add some immediate forms, make name optional
authorChris Lattner <sabre@nondot.org>
Sun, 1 Aug 2004 09:36:44 +0000 (09:36 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 1 Aug 2004 09:36:44 +0000 (09:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15401 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Target.td

index 1e75e5aa827c2ea9d6a40cce38799e8cb7c1e678..e111f85d0f0f5af18339c584f41985d5ab9d6e38 100644 (file)
@@ -106,7 +106,7 @@ class RegisterClass<ValueType regType, int alignment, list<Register> regList> {
 // 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 @@ class InstrInfo {
 /// 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