mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 00:24:00 +00:00
Add a common INLINEASM opcode
llvm-svn: 25667
This commit is contained in:
parent
0ee2c3b109
commit
b234392bc5
@ -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; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user