[llvm] [AArch64] Transform add(x, abs(y)) -> saba(x, y, 0) (PR #156615)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 3 01:22:26 PDT 2025


https://github.com/davemgreen commented:

Nice, I'm surprised this is the first use of SDPatternMatch.

Do we need the new combine / node, or could this be done with a tablegen pattern directly?

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


More information about the llvm-commits mailing list