summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/IR/MetadataTest.cpp
diff options
context:
space:
mode:
authorSven van Haastregt <sven.vanhaastregt@arm.com>2018-01-24 09:53:47 +0000
committerSven van Haastregt <sven.vanhaastregt@arm.com>2018-01-24 09:53:47 +0000
commite8404780c38e44ccbbc1cd89873929ed4c49dac0 (patch)
tree09198fe18b1afe20c797e25e0741ac80e654deaa /llvm/unittests/IR/MetadataTest.cpp
parent83a561584d28831a62da203cda532fe8da9cd295 (diff)
downloadbcm5719-llvm-e8404780c38e44ccbbc1cd89873929ed4c49dac0.tar.gz
bcm5719-llvm-e8404780c38e44ccbbc1cd89873929ed4c49dac0.zip
[DAGCombiner] Bail out if vector size is not a multiple
For the included test case, the DAG transformation concat_vectors(scalar, undef) -> scalar_to_vector(sclr) would attempt to create a v2i32 vector for a v9i8 concat_vector. Bail out to avoid creating a bitcast with mismatching sizes later on. Differential Revision: https://reviews.llvm.org/D42379 llvm-svn: 323312
Diffstat (limited to 'llvm/unittests/IR/MetadataTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud