diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-01-11 05:08:57 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-01-11 05:08:57 +0000 |
commit | 292d0c796bf41927109e332903ffdcd83d5e7f25 (patch) | |
tree | 8ce555dbffc036cce496dfbfb57bc2aba900ad2b /clang/lib/Serialization/ModuleManager.cpp | |
parent | 9cf2679d3bb7272e1a398bf0e4fae59970c666b6 (diff) | |
download | llvm-292d0c796bf41927109e332903ffdcd83d5e7f25.zip llvm-292d0c796bf41927109e332903ffdcd83d5e7f25.tar.gz llvm-292d0c796bf41927109e332903ffdcd83d5e7f25.tar.bz2 |
X86: Properly decode shuffle masks when the constant pool type is weird
It's possible for the constant pool entry for the shuffle mask to come
from a completely different operation. This occurs when Constants have
the same bit pattern but have different types.
Make DecodePSHUFBMask tolerant of types which, after a bitcast, are
appropriately sized vector types.
This fixes PR22188.
llvm-svn: 225597
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions