[all-commits] [llvm/llvm-project] b7a305: [AArch64][GlobalISel] Optimise Combine Funnel Shift

chuongg3 via All-commits all-commits at lists.llvm.org
Thu Sep 7 04:11:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7a305deca809e281e7b28a5714d708906821773
      https://github.com/llvm/llvm-project/commit/b7a305deca809e281e7b28a5714d708906821773
  Author: Tuan Chuong Goh <chuong.goh at arm.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/combine-fshl.mir
    A llvm/test/CodeGen/AArch64/GlobalISel/combine-fshr.mir
    M llvm/test/CodeGen/AArch64/funnel-shift.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Optimise Combine Funnel Shift

Combine any funnel shift with a shift amount of 0 to a copy.
Modulo is applied to shift amount if it is larger than the
instruction's bitwidth.

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




More information about the All-commits mailing list