[all-commits] [llvm/llvm-project] f347d7: [AArch64][GlobalISel] Add AArch64::G_DUPLANE[X] op...

AE via All-commits all-commits at lists.llvm.org
Thu Nov 5 11:18:36 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f347d78cca9a6b218e98d562b0e066488279602e
      https://github.com/llvm/llvm-project/commit/f347d78cca9a6b218e98d562b0e066488279602e
  Author: Amara Emerson <amara at apple.com>
  Date:   2020-11-05 (Thu, 05 Nov 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64Combine.td
    M llvm/lib/Target/AArch64/AArch64InstrGISel.td
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-lowering-shuffle-duplane.mir
    R llvm/test/CodeGen/AArch64/GlobalISel/select-shuffle-to-duplane.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Add AArch64::G_DUPLANE[X] opcodes for lane duplicates.

These were previously handled by pattern matching shuffles in the selector, but
adding a new opcode and making it equivalent to the AArch64duplane SDAG node
allows us to select more patterns, like lane indexed FMLAs (patch adding a test
for that will be committed later).

The pattern matching code has been simply moved to postlegalize lowering.

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




More information about the All-commits mailing list