[PATCH] D133491: [AArch64] Try to fold shuffle (tbl2, tbl2) to tbl4.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 02:31:48 PDT 2022


fhahn updated this revision to Diff 460683.
fhahn marked 4 inline comments as done.
fhahn added a comment.

Address latest comments, thanks!

In D133491#3791661 <https://reviews.llvm.org/D133491#3791661>, @t.p.northover wrote:

> At first glance this seems like a hyper-specific optimization, I take it there's some reasonably common idiom that motivates us even bothering?

It is quite specific but this kind of pattern can be produced by loop-vectorization, in combination with the recent changes using tbl instructions for extends/truncates.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133491/new/

https://reviews.llvm.org/D133491

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/arm64-tbl.ll
  llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133491.460683.patch
Type: text/x-patch
Size: 8747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220916/cb6333fe/attachment.bin>


More information about the llvm-commits mailing list