[llvm] [AMDGPU][SDAG] Try folding "lshr i64 + mad" to "mad_[iu]64_[iu]32" (PR #119218)

Vikram Hegde via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 21:49:34 PST 2024


================
@@ -1333,5 +1333,90 @@ define i48 @mad_i48_i48(i48 %arg0, i48 %arg1, i48 %arg2) #0 {
   ret i48 %a
 }
 
+define i64 @lshr_mad_i64(ptr addrspace(1) %1) local_unnamed_addr #0 {
----------------
vikramRH wrote:

https://github.com/llvm/llvm-project/pull/119509

https://github.com/llvm/llvm-project/pull/119218


More information about the llvm-commits mailing list