[all-commits] [llvm/llvm-project] 619d36: [GISel] Combine shift + trunc + shift pattern (#15...

jyli0116 via All-commits all-commits at lists.llvm.org
Wed Sep 10 07:02:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 619d36ff4f7552b0e5786f4cf24d93d8b881aa58
      https://github.com/llvm/llvm-project/commit/619d36ff4f7552b0e5786f4cf24d93d8b881aa58
  Author: jyli0116 <yu.li at arm.com>
  Date:   2025-09-10 (Wed, 10 Sep 2025)

  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
    M llvm/lib/Target/AArch64/AArch64Combine.td
    A llvm/test/CodeGen/AArch64/lshr-trunc-lshr.ll
    M llvm/test/CodeGen/AArch64/rem-by-const.ll
    M llvm/test/CodeGen/AArch64/urem-lkk.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshl.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/lshr.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/store-local.128.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/store-local.96.ll
    M llvm/test/CodeGen/AMDGPU/ds-alignment.ll

  Log Message:
  -----------
  [GISel] Combine shift + trunc + shift pattern (#155583)

Folds shift(trunc(shift(...))) pattern into trunc(shift(...)) by
combining the two shift instructions



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list