summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCContext.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-02-12 23:26:26 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-02-12 23:26:26 +0000
commita12fcb790fb3694c6fcdf14047be72283ae4a0ee (patch)
tree2d36573e75057d467111d8e538ab8b48e9502b92 /llvm/lib/MC/MCContext.cpp
parent8807e830373233ac31be4bf4ddbe6e854e8ebae5 (diff)
downloadbcm5719-llvm-a12fcb790fb3694c6fcdf14047be72283ae4a0ee.tar.gz
bcm5719-llvm-a12fcb790fb3694c6fcdf14047be72283ae4a0ee.zip
X86: Don't crash if we can't decode the pshufb mask
Constant pool entries are uniqued by their contents regardless of their type. This means that a pshufb can have a shuffle mask which isn't a simple array of bytes. The code path which attempts to decode the mask didn't check for failure, causing PR22559. llvm-svn: 228979
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud