diff options
author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2018-01-24 09:53:47 +0000 |
---|---|---|
committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2018-01-24 09:53:47 +0000 |
commit | e8404780c38e44ccbbc1cd89873929ed4c49dac0 (patch) | |
tree | 09198fe18b1afe20c797e25e0741ac80e654deaa /llvm/unittests | |
parent | 83a561584d28831a62da203cda532fe8da9cd295 (diff) | |
download | bcm5719-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')
0 files changed, 0 insertions, 0 deletions