[llvm] [AMDGPU] Improved Lowering of abs(i16) and -abs(i16) (PR #165626)

Patrick Simmons via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 31 12:20:20 PDT 2025


linuxrocks123 wrote:

@jmmartinez interestingly, the problem doesn't exist with global isel enabled.  The main branch generates the optimal instruction selection without this PR.

If we are planning to switch to global isel soon, we may not need this.

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


More information about the llvm-commits mailing list