[PATCH] D133495: [AArch64] Lower vector trunc using tbl.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 8 07:52:04 PDT 2022


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

Similar to using tbl to lower vector ZExts, tbl4 can be used to lower
vector truncates.

The initial version support i32->i8 conversions.

Depends on D120571 <https://reviews.llvm.org/D120571>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133495

Files:
  llvm/lib/CodeGen/CodeGenPrepare.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/trunc-to-tbl.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133495.458741.patch
Type: text/x-patch
Size: 8374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220908/583bc5aa/attachment.bin>


More information about the llvm-commits mailing list