diff options
author | David Green <david.green@arm.com> | 2021-07-03 07:57:19 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2021-07-03 07:57:19 +0100 |
commit | fbc329efbdba3edad78a1651148b340bcc7bf032 (patch) | |
tree | 0def83e5d42567e49451afc741314338b456ad80 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | c063946476e083a9a0c5bd397337d1ece4742ec6 (diff) | |
download | llvm-fbc329efbdba3edad78a1651148b340bcc7bf032.zip llvm-fbc329efbdba3edad78a1651148b340bcc7bf032.tar.gz llvm-fbc329efbdba3edad78a1651148b340bcc7bf032.tar.bz2 |
[AArch64] Add S/UQXTRN tablegen patterns.
This adds simple patterns for signed and unsigned saturating extract
narrow instructions. They combine a min/max/truncate into a single
instruction, providing that the immediates on the min/max are correct
for the saturation type. This is just handled in tablegen with some
extra patterns.
v2i64->v2i32 is not handled here as the min/max nodes are not legal,
making the lowering quite different.
Differential Revision: https://reviews.llvm.org/D103263
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions