aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 40f4551c8f..5c1999887c 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 }
};