[PATCH] D150482: [AArch64] Don't use tbl lowering if ZExt can be folded into user.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 14:05:49 PDT 2023


fhahn created this revision.
fhahn added reviewers: t.p.northover, dmgreen, paquette, efriedma.
Herald added subscribers: StephenFan, hiraditya, kristof.beyls.
Herald added a project: All.
fhahn requested review of this revision.
Herald added a project: LLVM.

If the ZExt can be lowered to a single ZExt to the next power-of-2 and
the remaining ZExt folded into the user, don't use tbl lowering.

Fixes #62620.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150482

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/CodeGenPrepare.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
  llvm/test/CodeGen/AArch64/sve-fixed-vector-zext.ll
  llvm/test/CodeGen/AArch64/zext-to-tbl.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150482.521791.patch
Type: text/x-patch
Size: 13125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230512/44958b37/attachment.bin>


More information about the llvm-commits mailing list