diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-10-05 05:38:16 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-10-05 05:38:16 +0000 |
commit | 936910d9293f7118056498c75c7bca79a7fc579c (patch) | |
tree | 33a480d60128c335af9b8d6d75b8936045d5bb1e /include | |
parent | e8bcb9dd999d366cb6fed9f35b2d2b367289e1ec (diff) | |
download | external_llvm-936910d9293f7118056498c75c7bca79a7fc579c.zip external_llvm-936910d9293f7118056498c75c7bca79a7fc579c.tar.gz external_llvm-936910d9293f7118056498c75c7bca79a7fc579c.tar.bz2 |
Add OPC_CheckChildSame0-3 to the DAG isel matcher. This replaces sequences of MoveChild, CheckSame, MoveParent. Saves 846 bytes from the X86 DAG isel matcher, ~300 from ARM, ~840 from Hexagon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGISel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h index 3d55d3a..b5ec8cb 100644 --- a/include/llvm/CodeGen/SelectionDAGISel.h +++ b/include/llvm/CodeGen/SelectionDAGISel.h @@ -113,6 +113,8 @@ public: OPC_MoveChild, OPC_MoveParent, OPC_CheckSame, + OPC_CheckChild0Same, OPC_CheckChild1Same, + OPC_CheckChild2Same, OPC_CheckChild3Same, OPC_CheckPatternPredicate, OPC_CheckPredicate, OPC_CheckOpcode, |