diff options
author | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2014-11-23 13:09:06 +0000 |
---|---|---|
committer | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2014-11-23 13:09:06 +0000 |
commit | 9ef90647b93a08c2a8233cf06c4c3fb4e4bf2b37 (patch) | |
tree | 9b79c781bd4c333a900eea1602889ffee11d27a1 /clang/unittests/Format/FormatTestJava.cpp | |
parent | 8c5128bf1bfd3001ea46dd8c7b69863f3189ffeb (diff) | |
download | llvm-9ef90647b93a08c2a8233cf06c4c3fb4e4bf2b37.zip llvm-9ef90647b93a08c2a8233cf06c4c3fb4e4bf2b37.tar.gz llvm-9ef90647b93a08c2a8233cf06c4c3fb4e4bf2b37.tar.bz2 |
[X86] Fixes bug in build_vector v4x32 lowering
r222375 made some improvements to build_vector lowering of v4x32 and v4xf32 into an insertps, but it missed a case where:
1. A single extracted element is used twice.
2. The lower of the two non-zero indexes should be preserved, and the higher should be used for the dest mask.
This caused a crash, since the source value for the insertps ends-up uninitialized.
Differential Revision: http://reviews.llvm.org/D6377
llvm-svn: 222635
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions