[PATCH] D150482: [AArch64] Don't use tbl lowering if ZExt can be folded into user.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 1 11:09:17 PDT 2023
efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:14461
auto DstWidth = cast<IntegerType>(DstTy->getElementType())->getBitWidth();
+ if (DstWidth % 8 != 0 || DstWidth <= 16 || DstWidth >= 64)
+ return false;
----------------
Maybe just explicitly check "DstWidth != 16 && DstWidth != 32"?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150482/new/
https://reviews.llvm.org/D150482
More information about the llvm-commits
mailing list