summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAGISel.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-03 06:28:15 +0000
committerChris Lattner <sabre@nondot.org>2010-03-03 06:28:15 +0000
commitcfe2eab7446dedc471592fe702fefef783383171 (patch)
treee9456a5376a26b03b053df780da66c7a3905f63f /include/llvm/CodeGen/SelectionDAGISel.h
parent30174be37a97b8fbc395e92b5895fb8a89cc8c4e (diff)
downloadllvm-cfe2eab7446dedc471592fe702fefef783383171.tar.gz
llvm-cfe2eab7446dedc471592fe702fefef783383171.tar.bz2
llvm-cfe2eab7446dedc471592fe702fefef783383171.tar.xz
introduce a new SwitchTypeMatcher node (which is analogous to
SwitchOpcodeMatcher) and have DAGISelMatcherOpt form it. This speeds up selection, particularly for X86 which has lots of variants of instructions with only type differences. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97645 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGISel.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAGISel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h
index f88654caa1..b4a0805696 100644
--- a/include/llvm/CodeGen/SelectionDAGISel.h
+++ b/include/llvm/CodeGen/SelectionDAGISel.h
@@ -121,6 +121,7 @@ public:
OPC_CheckOpcode,
OPC_SwitchOpcode,
OPC_CheckType,
+ OPC_SwitchType,
OPC_CheckChild0Type, OPC_CheckChild1Type, OPC_CheckChild2Type,
OPC_CheckChild3Type, OPC_CheckChild4Type, OPC_CheckChild5Type,
OPC_CheckChild6Type, OPC_CheckChild7Type,