mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-28 17:23:27 +00:00
Added a new SDNode type: BR_JT for jumptable branch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31292 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -406,6 +406,10 @@ namespace ISD {
|
|||||||
// is the value to branch to, which must be of the same type as the target's
|
// is the value to branch to, which must be of the same type as the target's
|
||||||
// pointer type.
|
// pointer type.
|
||||||
BRIND,
|
BRIND,
|
||||||
|
|
||||||
|
// BR_JT - Jumptable branch. The first operand is the chain, the second
|
||||||
|
// is the jumptable index, the last one is the jumptable entry index.
|
||||||
|
BR_JT,
|
||||||
|
|
||||||
// BRCOND - Conditional branch. The first operand is the chain,
|
// BRCOND - Conditional branch. The first operand is the chain,
|
||||||
// the second is the condition, the third is the block to branch
|
// the second is the condition, the third is the block to branch
|
||||||
|
|||||||
@@ -2734,6 +2734,7 @@ const char *SDNode::getOperationName(const SelectionDAG *G) const {
|
|||||||
// Control flow instructions
|
// Control flow instructions
|
||||||
case ISD::BR: return "br";
|
case ISD::BR: return "br";
|
||||||
case ISD::BRIND: return "brind";
|
case ISD::BRIND: return "brind";
|
||||||
|
case ISD::BR_JT: return "br_jt";
|
||||||
case ISD::BRCOND: return "brcond";
|
case ISD::BRCOND: return "brcond";
|
||||||
case ISD::BR_CC: return "br_cc";
|
case ISD::BR_CC: return "br_cc";
|
||||||
case ISD::RET: return "ret";
|
case ISD::RET: return "ret";
|
||||||
|
|||||||
Reference in New Issue
Block a user