[all-commits] [llvm/llvm-project] ac434a: [AArch64] Try to fold shuffle (tbl2, tbl2) to tbl4.

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Sep 21 11:16:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac434afed8dda112ef637cb27437cd82cf80a6c8
      https://github.com/llvm/llvm-project/commit/ac434afed8dda112ef637cb27437cd82cf80a6c8
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

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

  Log Message:
  -----------
  [AArch64] Try to fold shuffle (tbl2, tbl2) to tbl4.

shuffle (tbl2, tbl2) can be folded into a single tbl4 if the mask for
the selected elements is constant.

Reviewed By: t.p.northover

Differential Revision: https://reviews.llvm.org/D133491




More information about the All-commits mailing list