Add a missing check when legalizing a vector extending load. This doesn't
authorBob Wilson <bob.wilson@apple.com>
Fri, 3 Sep 2010 19:20:37 +0000 (19:20 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 3 Sep 2010 19:20:37 +0000 (19:20 +0000)
commitef134d02e0036ef981983d4b5e40c678dd241583
treea79d30a1acd60499418be627d65031dee9336037
parent7d49f2b1bf8df7be6a91f51bfda9543c6d8718b9
Add a missing check when legalizing a vector extending load.  This doesn't
solve the root problem, but it corrects the bug in the code I added to
support legalizing in the case where the non-extended type is also legal.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112997 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp