[all-commits] [llvm/llvm-project] 8b9670: [AArch64][GlobalISel] Select zip1 and zip2

Jessica Paquette via All-commits all-commits at lists.llvm.org
Tue Jun 2 18:57:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b96703652ade915eb444b8dae91ae6a16d32d75
      https://github.com/llvm/llvm-project/commit/8b96703652ade915eb444b8dae91ae6a16d32d75
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2020-06-02 (Tue, 02 Jun 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64Combine.td
    M llvm/lib/Target/AArch64/AArch64InstrGISel.td
    M llvm/lib/Target/AArch64/AArch64PostLegalizerCombiner.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-zip.mir
    A llvm/test/CodeGen/AArch64/GlobalISel/select-zip.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Select zip1 and zip2

Port the code to recognize a zip1/zip2 shuffle mask from AArch64ISelLowering
and put it into the post-legalizer combiner.

Add G_ZIP1 and G_ZIP2 to AArch64InstrGISel.td and hook them up as equivalent
nodes to AArch64zip1 and AArch64zip2. This allows us to select them.

Minor code size improvements for SPECINT2000 at -O3 on 197.parser, 252.eon, and
186.crafty.

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




More information about the All-commits mailing list