[all-commits] [llvm/llvm-project] e64341: [AArch64] Allow sinking both extract and splat to ...

David Green via All-commits all-commits at lists.llvm.org
Sat Nov 12 08:41:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6434113a5150ee27f110f9d10bb3e370fbdff41
      https://github.com/llvm/llvm-project/commit/e6434113a5150ee27f110f9d10bb3e370fbdff41
  Author: David Green <david.green at arm.com>
  Date:   2022-11-12 (Sat, 12 Nov 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sinksplat.ll

  Log Message:
  -----------
  [AArch64] Allow sinking both extract and splat to smull

We currently will sink either a splat or two extracts to a smull/umull.
There can be cases where we have both one operand as an extract and one
as a splat. This alters the areExtractShuffleVectors method to account
for that case.

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




More information about the All-commits mailing list