Add OPC_CheckChildSame0-3 to the DAG isel matcher. This replaces sequences of MoveChi...
authorCraig Topper <craig.topper@gmail.com>
Fri, 4 Oct 2013 05:22:20 +0000 (05:22 +0000)
committerCraig Topper <craig.topper@gmail.com>
Fri, 4 Oct 2013 05:22:20 +0000 (05:22 +0000)
commitd3562956789dbd0571a7e46052bee64b153fa7c4
tree43a5ff44e6bf0896492c876dfe81fa862efd7466
parentc32f2332b065d0fb8de4db8b8ca0981564dae92b
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@191940 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