diff options
author | Nilanjana Basu <n_basu@apple.com> | 2022-11-28 09:15:34 +0530 |
---|---|---|
committer | Nilanjana Basu <n_basu@apple.com> | 2022-12-09 13:55:25 +0530 |
commit | 955c0f13cd70d546c856bf185a60b88fed4ad9b0 (patch) | |
tree | 970d0372175e60e1519377dc8185e6ff615f6220 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | af42d80a63e38a941bc0d9df8e4d6ae287f75566 (diff) | |
download | llvm-955c0f13cd70d546c856bf185a60b88fed4ad9b0.zip llvm-955c0f13cd70d546c856bf185a60b88fed4ad9b0.tar.gz llvm-955c0f13cd70d546c856bf185a60b88fed4ad9b0.tar.bz2 |
[AArch64] Extending lowering of 'zext <Y x i8> %x to <Y x i8X>' to use tbl instructions
Adding support for ZExt lowering for destination types beyond the existing support for (8|16) x i32
Patch for lowering zext instructions to 'tbl' for (8|16)xi8 -> (8|16)xi32 conversions in https://reviews.llvm.org/D120571 is extended to support zext to 'tbl' lowering for Y x i8 to Y x i8X where X > 2 and X < 8, that is, any number of vector elements & any destination element type whose size is a multiple of 8 and lies between 16 & 64 is allowed for this transformation.
Related microbenchmarks are in https://reviews.llvm.org/D136274 & https://reviews.llvm.org/D138059
Differential Revision: https://reviews.llvm.org/D136722
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions