aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-07-31 21:48:23 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-07-31 21:48:23 +0000
commit0a229ed79a1886340352e82be58e0536a454ac12 (patch)
treee437292c3e4896fba485c8bd874597203095fc7c /include
parent74f4a130d2b4542668bd8b760462ed642b25f075 (diff)
downloadexternal_llvm-0a229ed79a1886340352e82be58e0536a454ac12.zip
external_llvm-0a229ed79a1886340352e82be58e0536a454ac12.tar.gz
external_llvm-0a229ed79a1886340352e82be58e0536a454ac12.tar.bz2
Added dummy Phi instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/Sparc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/Sparc.h b/include/llvm/CodeGen/Sparc.h
index 40f4551..5c19998 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 }
};