diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-04-19 22:09:15 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-04-19 22:13:11 +0200 |
commit | 9423f78240a216e3f38b394a41fe3427dee22c26 (patch) | |
tree | fd548640ed85bdbe56ea018f67f4c929b3ba1f22 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 3d385cc90ea8bcbef5f80b671e6ae3c6d838895f (diff) | |
download | llvm-9423f78240a216e3f38b394a41fe3427dee22c26.zip llvm-9423f78240a216e3f38b394a41fe3427dee22c26.tar.gz llvm-9423f78240a216e3f38b394a41fe3427dee22c26.tar.bz2 |
[InstCombine] Fold multiuse shr eq zero
The single-use case is handled implicity by converting the icmp
into a mask check first. When comparing with zero in particular,
we don't need the one-use restriction, as we only produce a single
icmp.
https://alive2.llvm.org/ce/z/MSixcm
https://alive2.llvm.org/ce/z/GwpG0M
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions