diff options
author | Hans Wennborg <hans@hanshq.net> | 2018-10-01 12:07:45 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2018-10-01 12:07:45 +0000 |
commit | a60aa91374bbcafc0d032c3f4217637fc816b8bc (patch) | |
tree | 24206db38a09ead48e25f863111a27e29bb633d3 /lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py | |
parent | 3e4f5eb33c98a324a8c62c885006fa8922fb0d0d (diff) | |
download | bcm5719-llvm-a60aa91374bbcafc0d032c3f4217637fc816b8bc.tar.gz bcm5719-llvm-a60aa91374bbcafc0d032c3f4217637fc816b8bc.zip |
Revert r343407 "[InstCombine] try to convert vector insert+extract to trunc"
This caused Chromium builds to fail with "Illegal Trunc" assertion.
See https://crbug.com/890723 for repro.
> This transform is requested for the backend in:
> https://bugs.llvm.org/show_bug.cgi?id=39016
> ...but I figured it was worth doing in IR too, and it's probably
> easier to implement here, so that's this patch.
>
> In the simplest case, we are just truncating a scalar value. If the
> extract index doesn't correspond to the LSBs of the scalar, then we
> have to shift-right before the truncate. Endian-ness makes this tricky,
> but hopefully the ASCII-art helps visualize the transform.
>
> Differential Revision: https://reviews.llvm.org/D52439
llvm-svn: 343458
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions