[all-commits] [llvm/llvm-project] b70227: [AArch64] Add Machine InstCombiner patterns for FM...

Andrew Savonichev via All-commits all-commits at lists.llvm.org
Tue Nov 9 04:31:14 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b702276ad0d6c750740f69979ea4ac30469e2110
      https://github.com/llvm/llvm-project/commit/b702276ad0d6c750740f69979ea4ac30469e2110
  Author: Andrew Savonichev <andrew.savonichev at gmail.com>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineCombinerPattern.h
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/test/CodeGen/AArch64/arm64-fma-combines.ll
    A llvm/test/CodeGen/AArch64/machine-combiner-fmul-dup.mir

  Log Message:
  -----------
  [AArch64] Add Machine InstCombiner patterns for FMUL indexed variant

This patch adds DUP+FMUL => FMUL_indexed pattern to InstCombiner.
FMUL_indexed is normally selected during instruction selection, but it
does not work in cases when VDUP and VMUL are in different basic
blocks.

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




More information about the All-commits mailing list