[all-commits] [llvm/llvm-project] 5decab: AMDGPU: Reduce shl64 to shl32 if shift range is [6...
    LU-JOHN via All-commits 
    all-commits at lists.llvm.org
       
    Thu Feb 13 11:40:46 PST 2025
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5decab178f2642a49037c33f00726792b7fdf4a3
      https://github.com/llvm/llvm-project/commit/5decab178f2642a49037c33f00726792b7fdf4a3
  Author: LU-JOHN <John.Lu at amd.com>
  Date:   2025-02-13 (Thu, 13 Feb 2025)
  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    A llvm/test/CodeGen/AMDGPU/shl64_reduce.ll
    A llvm/test/CodeGen/AMDGPU/shl64_reduce_flags.ll
  Log Message:
  -----------
  AMDGPU: Reduce shl64 to shl32 if shift range is [63-32] (#125574)
Reduce:
   DST = shl i64 X, Y
where Y is in the range [63-32] to:
   DST = [0, shl i32 X, (Y & 32)]
Alive2 analysis:
https://alive2.llvm.org/ce/z/w_u5je
---------
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