diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-01 09:36:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-01 09:36:44 +0000 |
commit | 1cabced74b73cf5995f4909ca67e7633c8c707e4 (patch) | |
tree | 080f2a04a8b111c72b8777c5b7a0b44a6a2ae4a4 /llvm/lib/Target | |
parent | f40e4ebf198e13a6405c6e26b15825d8c9ba294e (diff) | |
download | bcm5719-llvm-1cabced74b73cf5995f4909ca67e7633c8c707e4.tar.gz bcm5719-llvm-1cabced74b73cf5995f4909ca67e7633c8c707e4.zip |
Add some immediate forms, make name optional
llvm-svn: 15401
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/Target.td | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/lib/Target/Target.td b/llvm/lib/Target/Target.td index 1e75e5aa827..e111f85d0f0 100644 --- a/llvm/lib/Target/Target.td +++ b/llvm/lib/Target/Target.td @@ -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 |