Added dummy Phi instruction.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Tue, 31 Jul 2001 21:48:23 +0000 (21:48 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Tue, 31 Jul 2001 21:48:23 +0000 (21:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/Sparc.h

index 40f4551c8f3d47a12fd3cee242182eac9f3a9b4b..5c1999887cc31d088d0516adb3475f12fd44d075 100644 (file)
@@ -257,6 +257,9 @@ enum SparcMachineOpCode {
   JMPL,
   RETURN,
 
+  // Synthetic phi operation for near-SSA form of machine code
+  PHI,
+  
   // End-of-array marker
   INVALID_OPCODE
 };
@@ -510,6 +513,10 @@ const MachineInstrDescriptor SparcMachineInstrDesc[] = {
   { "JMPL",    3, -1, (1 << 12) - 1, true, 1, 2, M_BRANCH_FLAG | M_CALL_FLAG},
   { "RETURN",  2, -1,  0,           false, 1, 2, M_BRANCH_FLAG | M_RET_FLAG },
   
+  // Synthetic phi operation for near-SSA form of machine code
+  // Number of operands is variable, indicated by -1.  Result is the first op.
+  { "PHI",     -1,  0,  0,  false, 0, 0,  0x0 },
+  
   // End-of-array marker
   { "INVALID_SPARC_OPCODE",    0,  -1,  0,  false, 0, 0,  0x0 }
 };