Now that iPTR is a fully resolved type. We end up losing the type check for
authorEvan Cheng <evan.cheng@apple.com>
Fri, 19 May 2006 07:24:32 +0000 (07:24 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 19 May 2006 07:24:32 +0000 (07:24 +0000)
commitd15531b43024a1cbe5bb3d7318d72f54d93cda52
tree03190359cdf3fc51001b11195bd60978726cdae2
parentdc124a234a02ea6fc1061a51ade1bb7b817ddb61
Now that iPTR is a fully resolved type. We end up losing the type check for
patterns that look like this:

def : Pat<(i32 (X86Wrapper tconstpool  :$dst)), (MOV32ri tconstpool  :$dst)>;

InsertOneTypeCheck should copy the type from the resolved pattern to the
unresolved one as long as there types are different.

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