diff options
author | David Green <david.green@arm.com> | 2021-07-13 07:21:20 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2021-07-13 07:21:20 +0100 |
commit | ca78151001d80d0fd1a2a6db4742f5f673572f7c (patch) | |
tree | c7f4100986d69d69f231659796335c87123efd48 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | d7d9c577ed33ab6b82eceb01bc978f2460f038f4 (diff) | |
download | llvm-ca78151001d80d0fd1a2a6db4742f5f673572f7c.zip llvm-ca78151001d80d0fd1a2a6db4742f5f673572f7c.tar.gz llvm-ca78151001d80d0fd1a2a6db4742f5f673572f7c.tar.bz2 |
[ARM] Introduce MVEEXT ISel lowering
Similar to D91921 (and D104515) this introduces two MVESEXT and MVEZEXT
nodes that larger-than-legal sext and zext are lowered to. These either
get optimized away or end up becoming a series of stack loads/store, in
order to perform the extending whilst keeping the order of the lanes
correct. They are generated from v8i16->v8i32, v16i8->v16i16 and
v16i8->v16i32 extends, potentially with a intermediate extend for the
larger v16i8->v16i32 extend. A number of combines have been added for
obvious cases that come up in tests, notably MVEEXT of shuffles. More
may be needed in the future, but this seems to cover most of the cases
that come up in the tests.
Differential Revision: https://reviews.llvm.org/D105090
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions