[llvm] [AMDGPU] 32-bit ABS is a legal DAG node (PR #163907)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 17 03:06:51 PDT 2025


jayfoad wrote:

Interesting. We don't have single VALU instruction for ABS, but we do have an isel pattern that expands it to V_SUB_U32+V_MAX_I32, so I guess it's OK to say that ABS is legal. Are there any significant improvements or regressions in the lit tests?

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


More information about the llvm-commits mailing list