diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-05-29 07:12:39 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-05-29 07:12:39 +0000 |
commit | e3c14ebbfa41160120b11ced9f30e47a81693f91 (patch) | |
tree | 9955d0ea9d1e7c97d4263fdf88c85fcfb97178cd /lldb/packages/Python/lldbsuite/test/python_api/value/main.c | |
parent | 8cca8cb0ce05298b117f2b020a359cd5dd34b6ca (diff) | |
download | bcm5719-llvm-e3c14ebbfa41160120b11ced9f30e47a81693f91.tar.gz bcm5719-llvm-e3c14ebbfa41160120b11ced9f30e47a81693f91.zip |
[PPC] Fix assertion failure during binary encoding with -mcpu=pwr9
Summary
clang -c -mcpu=pwr9 test/CodeGen/PowerPC/build-vector-tests.ll causes an assertion failure during the binary encoding.
The failure occurs when a D-form load instruction takes two register operands instead of a register + an immediate.
This patch fixes the problem and also adds an assertion to catch this failure earlier before the binary encoding (i.e. during lit test).
The fix is from Nemanja Ivanovic @nemanjai.
Differential Revision: https://reviews.llvm.org/D33482
llvm-svn: 304133
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/main.c')
0 files changed, 0 insertions, 0 deletions