diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2013-11-22 13:14:06 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2013-11-22 13:14:06 +0000 |
commit | 630dbe0a14d54659ccb02e6f7fdf0cd8eb36a880 (patch) | |
tree | 3b39406e6d4c53240b2a54be2a2b464ef48172dd /llvm/test | |
parent | 831bfabad947faa908b3d9630ee545e982983916 (diff) | |
download | bcm5719-llvm-630dbe0a14d54659ccb02e6f7fdf0cd8eb36a880.tar.gz bcm5719-llvm-630dbe0a14d54659ccb02e6f7fdf0cd8eb36a880.zip |
[mips][msa] Fix corner case for integer constant splats with undef values.
lowerBUILD_VECTOR() was treating integer constant splats as being legal
regardless of whether they had undef values. This caused instruction
selection failures when the undefs were legalized to zero, making the
constant non-splat.
Fixed this by requiring HasAnyUndef to be false for a integer constant
splat to be legal. If it is true, a new node is generated with the undefs
replaced with the necessary values to remain a splat.
llvm-svn: 195455
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions