mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-24 23:22:10 +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:
parent
55d7244f69
commit
c41cd9c391
@ -406,6 +406,10 @@ namespace ISD {
|
||||
// is the value to branch to, which must be of the same type as the target's
|
||||
// pointer type.
|
||||
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,
|
||||
// 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
|
||||
case ISD::BR: return "br";
|
||||
case ISD::BRIND: return "brind";
|
||||
case ISD::BR_JT: return "br_jt";
|
||||
case ISD::BRCOND: return "brcond";
|
||||
case ISD::BR_CC: return "br_cc";
|
||||
case ISD::RET: return "ret";
|
||||
|
Loading…
x
Reference in New Issue
Block a user