summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-10-30 07:59:36 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-10-30 07:59:36 +0000
commitc41cd9c391f1f69adf416145a5a1308d7ce342fc (patch)
treeceeef515ebb370fe12ff2a9d4a96e308afec5cf2 /include/llvm/CodeGen
parent55d7244f690e6585771eb98a1901b61564a0da70 (diff)
downloadllvm-c41cd9c391f1f69adf416145a5a1308d7ce342fc.tar.gz
llvm-c41cd9c391f1f69adf416145a5a1308d7ce342fc.tar.bz2
llvm-c41cd9c391f1f69adf416145a5a1308d7ce342fc.tar.xz
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
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index cd09777be3..c3e6dee232 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -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