Fixed PR13938: the ARM backend was crashing because it couldn't select a VDUPLANE...
authorSilviu Baranga <silviu.baranga@arm.com>
Mon, 15 Oct 2012 09:41:32 +0000 (09:41 +0000)
committerSilviu Baranga <silviu.baranga@arm.com>
Mon, 15 Oct 2012 09:41:32 +0000 (09:41 +0000)
commitbb1078ea1370fd0cc32f52b1b53f0b245ded42e7
treeb07f79243fcf32c768ea2aa24108b000c022498c
parent81ff90db4403f9b4ee3574f00ebdfba4a12177c9
Fixed PR13938: the ARM backend was crashing because it couldn't select a VDUPLANE node with the vector input size different from the output size. This was bacause the BUILD_VECTOR lowering code didn't check that the size of the input vector was correct for using VDUPLANE.

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