Fix an instcombine abort on a scalar-to-vector bitcast. This fixes PR4487.
authorDan Gohman <gohman@apple.com>
Wed, 1 Jul 2009 21:38:46 +0000 (21:38 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 1 Jul 2009 21:38:46 +0000 (21:38 +0000)
commit6cc18fedf83b1a41935fcdc8b1a0fbc239f7993f
treecab29373dffe9f84f4a4378c4d7f3e0a308cd645
parent74a81813c2fea442d921c08e79d228bd936e723c
Fix an instcombine abort on a scalar-to-vector bitcast. This fixes PR4487.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74646 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/bitcast-scalar-to-vector.ll [new file with mode: 0644]