OSDN Git Service

Check if Type is a vector before calling function Type::getVectorNumElements.
authorAkira Hatanaka <ahatanaka@mips.com>
Thu, 28 Mar 2013 01:28:02 +0000 (01:28 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Thu, 28 Mar 2013 01:28:02 +0000 (01:28 +0000)
commitd7216a28d6a07a4ea4047a14427c16b96feeb36f
tree704b6861c2637504cae526758c12836c01c0e468
parent1fd36e41e408307a4e7362cc9cd83aeb77ee71dd
Check if Type is a vector before calling function Type::getVectorNumElements.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178208 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineSelect.cpp
test/Transforms/InstCombine/vector-type.ll [new file with mode: 0644]