aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
diff options
context:
space:
mode:
authorAmy Kwan <amy.kwan1@ibm.com>2021-07-12 16:19:15 -0500
committerAmy Kwan <amy.kwan1@ibm.com>2021-07-12 16:20:11 -0500
commit35909ff6cf27373efa6f1974d4ad349beb6959a0 (patch)
treeebb0ed8c6068740b1712a632eee37d5b72d498d6 /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
parent15df9c9881aebf58dd54fb4e8dd1c1a77684fd7f (diff)
downloadllvm-35909ff6cf27373efa6f1974d4ad349beb6959a0.zip
llvm-35909ff6cf27373efa6f1974d4ad349beb6959a0.tar.gz
llvm-35909ff6cf27373efa6f1974d4ad349beb6959a0.tar.bz2
[PowerPC] Fix the splat immediate in PPCMIPeephole depending on if we have an Altivec and VSX splat instruction.
An assertion of the following can occur because Altivec and VSX splats use a different operand number for the immediate: ``` int64_t llvm::MachineOperand::getImm() const: Assertion `isImm() && "Wrong MachineOperand accessor"' failed. ``` This patch updates PPCMIPeephole.cpp assign the correct splat immediate. Differential Revision: https://reviews.llvm.org/D105790
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions