summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2015-05-21 20:48:49 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2015-05-21 20:48:49 +0000
commite13ac91c5d1986ee843c4f0ba743af1464b4099e (patch)
treea175658ff97777e29aefe96311563200672aa677 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parent0a82ad798cb0ab2cfc0028d5281d73b2f1875f23 (diff)
downloadbcm5719-llvm-e13ac91c5d1986ee843c4f0ba743af1464b4099e.tar.gz
bcm5719-llvm-e13ac91c5d1986ee843c4f0ba743af1464b4099e.zip
[PPC64] Handle vpkudum mask pattern correctly when vpkudum isn't available
My recent patch to add support for ISA 2.07 vector pack/unpack instructions didn't properly check for availability of the vpkudum instruction when recognizing it as a special vector shuffle case. This causes us to leave the vector shuffle in place (rather than converting it to a vector permute) so that it can be recognized later as a vpkudum, but that pattern is invalid for processors prior to POWER8. Thus LLVM crashes with an "unable to select" message. We observed this since one of our buildbots is configured to generate code for a POWER7. This patch fixes the problem by checking for availability of the vpkudum instruction during custom lowering of vector shuffles. I've added a test case variant for the vpkudum pattern when the instruction isn't available. llvm-svn: 237952
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud