[PATCH] D120571: [CGP, AArch64] Replace zexts with shuffle that can be lowered using tbl.

Tim Northover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 15 01:21:53 PDT 2022


t.p.northover accepted this revision.
t.p.northover added a comment.
This revision is now accepted and ready to land.

Looks reasonable, apart from a glitch in a comment.



================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:13258
+
+  // Convert 'zext <(8|16) x i8> %x to <(8|16) x i8>' to a shuffle that can be
+  // lowered to either 2 or 4 tbl instructions to insert the original i8
----------------
Destination type seems wrong.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120571



More information about the llvm-commits mailing list