diff options
author | Nikita Popov <npopov@redhat.com> | 2023-03-21 12:14:44 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-03-30 11:23:23 +0200 |
commit | 5213834f4ca687f10ac7f6df4a28334ddd85aea5 (patch) | |
tree | 635d2f2fdb762c89a9e1c486911d8ebda5b3cbbe /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | |
parent | 244a4e75aee42126209a6950fa12b345af5edf3d (diff) | |
download | llvm-5213834f4ca687f10ac7f6df4a28334ddd85aea5.zip llvm-5213834f4ca687f10ac7f6df4a28334ddd85aea5.tar.gz llvm-5213834f4ca687f10ac7f6df4a28334ddd85aea5.tar.bz2 |
[AArch64] Extend icmp bitcast to vecreduce fold to comparison with -1
D130163 added support for folding
setcc (iN (bitcast (vNi1 X))), 0, (eq|ne) to
setcc (iN (zext (i1 (vecreduce_or (vNi1 X))))), 0, (eq|ne).
There is a conjugate fold for comparison with -1 which uses
vecreduce_and and sext instead.
Proof: https://alive2.llvm.org/ce/z/Zz--xy
Differential Revision: https://reviews.llvm.org/D146518
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
0 files changed, 0 insertions, 0 deletions