[CodeGen] Simplify getNode(*EXT/TRUNC) type size assert. NFC.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Thu, 13 Aug 2015 01:08:48 +0000 (01:08 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Thu, 13 Aug 2015 01:08:48 +0000 (01:08 +0000)
commit4e83bb95c8cc97d21ea1bbeb9794ef06ca421c5e
tree6d7f9d6589f7b60c6af2a4d0479559a3b235bc38
parent42fe3754c5078257d5d62e7dec91a0a62be5819d
[CodeGen] Simplify getNode(*EXT/TRUNC) type size assert. NFC.

We already check that vectors have the same number of elements, we
don't need to use the scalar types explicitly: comparing the size of
the whole vector is enough.

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