Factor out the predicate check code from DAGISelEmitter.cpp
authorDan Gohman <gohman@apple.com>
Fri, 22 Aug 2008 00:20:26 +0000 (00:20 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 22 Aug 2008 00:20:26 +0000 (00:20 +0000)
commit22bb31103de3337f0bb74c7bee16d1817d4dca14
tree6b3248d4c091d2b5b82e3ce2e55ddcf2b8495ee6
parenta6211d9e83dfce3f8e3109af0d4b9a8e6647eedf
Factor out the predicate check code from DAGISelEmitter.cpp
and use it in FastISelEmitter.cpp, and make FastISel
subtarget aware. Among other things, this lets it work
properly on x86 targets that don't have SSE, where it
successfully selects x87 instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55156 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/FastISel.h
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/Target/X86/X86FastISel.cpp
test/CodeGen/X86/fast-isel.ll
utils/TableGen/CodeGenDAGPatterns.cpp
utils/TableGen/CodeGenDAGPatterns.h
utils/TableGen/DAGISelEmitter.cpp
utils/TableGen/FastISelEmitter.cpp