[all-commits] [llvm/llvm-project] c4caf0: [AMDGPU] Convert more 64-bit lshr to 32-bit if shi...

LU-JOHN via All-commits all-commits at lists.llvm.org
Fri Jun 13 01:03:27 PDT 2025


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

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

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

Convert vector 64-bit lshr to 32-bit if shift amt is known to be >= 32.
Also convert scalar 64-bit lshr to 32-bit if shift amt is variable but
known to be >=32.

---------

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