eliminate the CheckMultiOpcodeMatcher code and have each
authorChris Lattner <sabre@nondot.org>
Mon, 1 Mar 2010 07:17:40 +0000 (07:17 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 1 Mar 2010 07:17:40 +0000 (07:17 +0000)
commitfa342faef9d1c89de356ed83a6c6529ed3e87610
treea6d5a6fed6cb48fec62183639b79d8120e4b52a3
parenteb66921adb943ea841e72c8eee4777607c48b70e
eliminate the CheckMultiOpcodeMatcher code and have each
ComplexPattern at the root be generated multiple times, once
for each opcode they are part of.  This encourages factoring
because the opcode checks get treated just like everything
else in the matcher.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97439 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAGISel.h
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
utils/TableGen/DAGISelEmitter.cpp
utils/TableGen/DAGISelMatcher.cpp
utils/TableGen/DAGISelMatcher.h
utils/TableGen/DAGISelMatcherEmitter.cpp
utils/TableGen/DAGISelMatcherGen.cpp
utils/TableGen/DAGISelMatcherOpt.cpp