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)
commitb14097000bf2cec41c598498141258fcc03913db
tree606324ff7b7edc8d7415f3ddce8edd5d7461cb2a
parent435c4e0792f1b412cfd70a8ac44a2f12e800c0e9
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.

llvm-svn: 165929
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/ARM/vdup.ll