diff options
author | David Green <david.green@arm.com> | 2022-10-04 21:18:30 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2022-10-04 21:18:30 +0100 |
commit | cf43154bc37540f32d0a345b7d5aa99d21f73cee (patch) | |
tree | ce844af6b30f250f21d5f23b57c115bec7577ecf /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 2e1c1d6d72879cafc339ad035b1b5a6d1c8cc130 (diff) | |
download | llvm-cf43154bc37540f32d0a345b7d5aa99d21f73cee.zip llvm-cf43154bc37540f32d0a345b7d5aa99d21f73cee.tar.gz llvm-cf43154bc37540f32d0a345b7d5aa99d21f73cee.tar.bz2 |
[AArch64] Ensure condition (SUBS) has no uses of value in performCONDCombine
performCONDCombine removes and 0xff in patterns of
SUBS (and (add(..), 0xff), C)
under certain complex conditions. It doesn't come up often,
but in the lowering of usub.sat where the SUBS is both used as a
condition and as a value, the And is removed where it would only be
valid for the condition.
Fixes #58109.
Differential Revision: https://reviews.llvm.org/D135043
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions