[all-commits] [llvm/llvm-project] f2991b: [AMDGPU] Convert 64-bit sra to 32-bit if shift amt...

LU-JOHN via All-commits all-commits at lists.llvm.org
Thu Jun 26 11:23:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2991bf791091967259d1235604534bcef73612c
      https://github.com/llvm/llvm-project/commit/f2991bf791091967259d1235604534bcef73612c
  Author: LU-JOHN <John.Lu at amd.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/ashr64_reduce.ll

  Log Message:
  -----------
  [AMDGPU] Convert 64-bit sra to 32-bit if shift amt >= 32 (#144421)

Use KnownBits to convert 64-bit sra to 32-bit sra.

Scaled-down alive2 verification with 16/8-bit types:
https://alive2.llvm.org/ce/z/LamASk

---------

Signed-off-by: John Lu <John.Lu at amd.com>



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