diff options
| author | Nikita Popov <npopov@redhat.com> | 2022-06-03 11:11:03 +0200 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2022-06-07 09:50:26 +0200 |
| commit | 5a64bc207ee07d939271ee8631bf28b01e431a46 (patch) | |
| tree | 0e9c66cd2e6dfc003dd95bca732f6232ce9ca64d /lldb/packages/Python/lldbsuite/test | |
| parent | 62a34f6a6f10bfa905a294ff79bfed24156baf3a (diff) | |
| download | llvm-5a64bc207ee07d939271ee8631bf28b01e431a46.zip llvm-5a64bc207ee07d939271ee8631bf28b01e431a46.tar.gz llvm-5a64bc207ee07d939271ee8631bf28b01e431a46.tar.bz2 | |
[DAGCombiner] Remove overzealous assertion when folding assert+trunc+assert (PR55846)
These assert that there are no "useless" assertzext/assertsext nodes
(that assert a wider width than a following trunc), but I don't think
there is anything preventing such nodes from reaching this code.
I don't think the assertion is relevant for correctness of this
transform either -- if such an assert is present, then the other
one will always be to a smaller width, and we'll pick that one.
The assertion dates back to D37017.
Fixes https://github.com/llvm/llvm-project/issues/55846.
Differential Revision: https://reviews.llvm.org/D126952
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
