[llvm] [AMDGPU][SDAG] Try folding "lshr i64 + mad" to "mad_[iu]64_[iu]32" (PR #119218)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 9 07:10:59 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 {
----------------
jayfoad wrote:
Please pre-commit the tests so we can see what effect your patch has on the codegen.
https://github.com/llvm/llvm-project/pull/119218
More information about the llvm-commits
mailing list