diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-01-27 01:46:15 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-01-27 01:46:15 +0000 |
| commit | 1240574609d476bc57b476773edd90349fd92072 (patch) | |
| tree | 8f696084f365f11496cc7224d3f93547241a1a47 /llvm/lib/Target/Target.td | |
| parent | 543fe4b6aa414b7d5fcc91ada0c46071ef407064 (diff) | |
| download | bcm5719-llvm-1240574609d476bc57b476773edd90349fd92072.tar.gz bcm5719-llvm-1240574609d476bc57b476773edd90349fd92072.zip | |
PHI and INLINEASM are now built-in instructions provided by Target.td
llvm-svn: 25674
Diffstat (limited to 'llvm/lib/Target/Target.td')
| -rw-r--r-- | llvm/lib/Target/Target.td | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/llvm/lib/Target/Target.td b/llvm/lib/Target/Target.td index b4584244d0f..407ad640594 100644 --- a/llvm/lib/Target/Target.td +++ b/llvm/lib/Target/Target.td @@ -171,7 +171,7 @@ class Instruction { bit hasCtrlDep = 0; // Does this instruction r/w ctrl-flow chains? bit noResults = 0; // Does this instruction produce no results? - InstrItinClass Itinerary; // Execution steps used for scheduling. + InstrItinClass Itinerary = NoItinerary;// Execution steps used for scheduling. } /// Predicates - These are extra conditionals which are turned into instruction @@ -213,8 +213,6 @@ def i64imm : Operand<i64>; // which are global to the the target machine. // class InstrInfo { - Instruction PHIInst; - // If the target wants to associate some target-specific information with each // instruction, it should provide these two lists to indicate how to assemble // the target specific information into the 32 bits available. @@ -229,6 +227,16 @@ class InstrInfo { bit isLittleEndianEncoding = 0; } +// Standard Instructions. +def PHI : Instruction { + let OperandList = (ops variable_ops); + let AsmString = "PHINODE"; +} +def INLINEASM : Instruction { + let OperandList = (ops variable_ops); + let AsmString = ""; +} + //===----------------------------------------------------------------------===// // AsmWriter - This class can be implemented by targets that need to customize // the format of the .s file writer. |

