[llvm] [AMDGPU] Select v_lshl_add_u32 instead of v_mul_lo_u32 by constant (PR #71035)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 01:28:24 PDT 2023


https://github.com/arsenm requested changes to this pull request.

You're probably better off doing this in a selection pattern. The 24-bit cases are better off with the multiply, and SALU vs. VALU matters too

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


More information about the llvm-commits mailing list