[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h

Chris Lattner lattner at cs.uiuc.edu
Thu Jan 26 15:27:14 PST 2006



Changes in directory llvm/include/llvm/Target:

TargetInstrInfo.h updated: 1.81 -> 1.82
---
Log message:

Add a common INLINEASM opcode


---
Diffs of the changes:  (+5 -2)

 TargetInstrInfo.h |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.81 llvm/include/llvm/Target/TargetInstrInfo.h:1.82
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.81	Tue Nov  1 14:07:00 2005
+++ llvm/include/llvm/Target/TargetInstrInfo.h	Thu Jan 26 17:27:02 2006
@@ -125,8 +125,11 @@
   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; }
 






More information about the llvm-commits mailing list