projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fabcb7a
)
Add a common INLINEASM opcode
author
Chris Lattner
<sabre@nondot.org>
Thu, 26 Jan 2006 23:27:02 +0000
(23:27 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 26 Jan 2006 23:27:02 +0000
(23:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25667
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/TargetInstrInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetInstrInfo.h
b/include/llvm/Target/TargetInstrInfo.h
index 8659ef9e39cfb1579c21a38265fb7a8d1cec80e1..b8f925eab2134ef8a17bdf38c5a80cd2476869e7 100644
(file)
--- a/
include/llvm/Target/TargetInstrInfo.h
+++ b/
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; }