Implement a couple of new (important) features.
authorChris Lattner <sabre@nondot.org>
Fri, 14 Oct 2005 04:11:13 +0000 (04:11 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 14 Oct 2005 04:11:13 +0000 (04:11 +0000)
commit0ee7cff4fb9fceb88778f2f44876ce9716479d7f
tree562f7872a074d5396c7753057e57f1b7a001c661
parent75ee2eb4e20f74a14ebb78aad03b15555c53043d
Implement a couple of new (important) features.

1. If an operation has to be int or fp and the target only supports one
   int or fp type, relize that the op has to have that type.
2. If a target has operations on multiple types, do not emit matching code
   for patterns involving those operators, since we do not emit the code to
   check for them yet.  This prevents PPC from generating FP ops currently.

Also move some code around into more logical places.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23724 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/DAGISelEmitter.cpp
utils/TableGen/DAGISelEmitter.h