OSDN Git Service

Don't require src/dst patterns to be able to fully resolve their types,
authorChris Lattner <sabre@nondot.org>
Tue, 20 Jun 2006 00:31:27 +0000 (00:31 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 20 Jun 2006 00:31:27 +0000 (00:31 +0000)
commit186fb7d131d598c3596204886bd754a47bb268a2
treee09e63b95b53459f4101f11fa158ab2af15e2b8f
parent30da68acce4f7f8f1ef9f94bc18ee5a1f2364c3c
Don't require src/dst patterns to be able to fully resolve their types,
because information about one can help refine the other.  This allows us to
write:

def : Pat<(i32 (extload xaddr:$src, i8)),
          (LBZX xaddr:$src)>;

as:

def : Pat<(extload xaddr:$src, i8),
          (LBZX xaddr:$src)>;

because tblgen knows LBZX returns i32.

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