Don't introduce illegal types when creating vmull operations. <rdar://11324364>
authorBob Wilson <bob.wilson@apple.com>
Mon, 30 Apr 2012 16:53:34 +0000 (16:53 +0000)
committerBob Wilson <bob.wilson@apple.com>
Mon, 30 Apr 2012 16:53:34 +0000 (16:53 +0000)
commitff73d8fef9a94ceb2fc35d9371deeb0214c0eeee
treea952f57bcdcdad1ec1fdad6b62644d93ef0f3070
parent37bc5a200092f1b41da799c75da70258015e43a4
Don't introduce illegal types when creating vmull operations. <rdar://11324364>

ARM BUILD_VECTORs created after type legalization cannot use i8 or i16
operands, since those types are not legal.  Instead use i32 operands, which
will be implicitly truncated by the BUILD_VECTOR to match the element type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155824 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/vmul.ll