[all-commits] [llvm/llvm-project] 896d90: [AMDGPU] Create hi-half of 64-bit ashr with mov of...
LU-JOHN via All-commits
all-commits at lists.llvm.org
Wed Jul 9 09:03:12 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 896d900c9b71f8b11bcacc8ead56f15c8a16155b
https://github.com/llvm/llvm-project/commit/896d900c9b71f8b11bcacc8ead56f15c8a16155b
Author: LU-JOHN <John.Lu at amd.com>
Date: 2025-07-09 (Wed, 09 Jul 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/ashr64_reduce_flags.ll
A llvm/test/CodeGen/AMDGPU/neg_ashr64_reduce.ll
Log Message:
-----------
[AMDGPU] Create hi-half of 64-bit ashr with mov of -1 (#146569)
When performing a 64-bit sra of a negative value with a shift range from
[32-63], create the hi-half with a move of -1.
Alive verification: https://alive2.llvm.org/ce/z/kXd7Ac
Also, preserve exact flag. Alive verification:
https://alive2.llvm.org/ce/z/L86tXf.
---------
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