mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Added dummy Phi instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
74f4a130d2
commit
0a229ed79a
@ -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 }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user