From: Vikram S. Adve Date: Tue, 31 Jul 2001 21:48:23 +0000 (+0000) Subject: Added dummy Phi instruction. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0a229ed79a1886340352e82be58e0536a454ac12;p=oota-llvm.git Added dummy Phi instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/Sparc.h b/include/llvm/CodeGen/Sparc.h index 40f4551c8f3..5c1999887cc 100644 --- a/include/llvm/CodeGen/Sparc.h +++ b/include/llvm/CodeGen/Sparc.h @@ -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 } };