[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
Thu Jan 2 03:33:51 PST 2025


jayfoad wrote:

> Try folding "lshr i64 + mad" to "mad_[iu]64_[iu]32"

Just "mad_u64_u32". This optimization does not use the signed version of the instruction.

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


More information about the llvm-commits mailing list