diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-01-26 23:27:02 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-01-26 23:27:02 +0000 |
| commit | f32b77c83d1d1a48222425175dda78fa275d3f06 (patch) | |
| tree | ea7e844706cd3bb803805154be7f6c3c205ac661 | |
| parent | 5815669251c8eeee575458acf08635e9711788a5 (diff) | |
| download | bcm5719-llvm-f32b77c83d1d1a48222425175dda78fa275d3f06.tar.gz bcm5719-llvm-f32b77c83d1d1a48222425175dda78fa275d3f06.zip | |
Add a common INLINEASM opcode
llvm-svn: 25667
| -rw-r--r-- | llvm/include/llvm/Target/TargetInstrInfo.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/include/llvm/Target/TargetInstrInfo.h b/llvm/include/llvm/Target/TargetInstrInfo.h index 8659ef9e39c..b8f925eab21 100644 --- a/llvm/include/llvm/Target/TargetInstrInfo.h +++ b/llvm/include/llvm/Target/TargetInstrInfo.h @@ -125,8 +125,11 @@ public: TargetInstrInfo(const TargetInstrDescriptor *desc, unsigned NumOpcodes); virtual ~TargetInstrInfo(); - // Invariant: All instruction sets use opcode #0 as the PHI instruction - enum { PHI = 0 }; + // Invariant opcodes: All instruction sets have these as their low opcodes. + enum { + PHI = 0, + INLINEASM = 1 + }; unsigned getNumOpcodes() const { return NumOpcodes; } |

