diff options
author | Robert Lougher <rob.lougher@gmail.com> | 2014-09-22 11:54:38 +0000 |
---|---|---|
committer | Robert Lougher <rob.lougher@gmail.com> | 2014-09-22 11:54:38 +0000 |
commit | 6da8a243f91a54096927b566d43665427a18a6cb (patch) | |
tree | 2005b805b8120ec28d6fc59d078e46c1389c6db5 /llvm/lib/DebugInfo/DWARFDebugInfoEntry.h | |
parent | 14f97d0017c4d5d1b3879d3d6c520c9caccf79ea (diff) | |
download | bcm5719-llvm-6da8a243f91a54096927b566d43665427a18a6cb.tar.gz bcm5719-llvm-6da8a243f91a54096927b566d43665427a18a6cb.zip |
Fix assert when decoding PSHUFB mask
The PSHUFB mask decode routine used to assert if the mask index was out of
range (<0 or greater than the size of the vector). The problem is, we can
legitimately have a PSHUFB with a large index using intrinsics. The
instruction only uses the least significant 4 bits. This change removes the
assert and masks the index to match the instruction behaviour.
llvm-svn: 218242
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugInfoEntry.h')
0 files changed, 0 insertions, 0 deletions