Add OPC_CheckChildSame0-3 to the DAG isel matcher. This replaces sequences of MoveChi...
authorCraig Topper <craig.topper@gmail.com>
Sat, 5 Oct 2013 05:38:16 +0000 (05:38 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 5 Oct 2013 05:38:16 +0000 (05:38 +0000)
commit936910d9293f7118056498c75c7bca79a7fc579c
tree33a480d60128c335af9b8d6d75b8936045d5bb1e
parente8bcb9dd999d366cb6fed9f35b2d2b367289e1ec
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
include/llvm/CodeGen/SelectionDAGISel.h
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
utils/TableGen/DAGISelMatcher.cpp
utils/TableGen/DAGISelMatcher.h
utils/TableGen/DAGISelMatcherEmitter.cpp
utils/TableGen/DAGISelMatcherOpt.cpp