[llvm] [LLVM][CodeGen][AArch64] Improve generated code for scalar min(a,b)-max(a,b). (PR #223697)

Ricardo Jesus via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 07:08:21 PDT 2026


rj-jesus wrote:

I hope I'm not throwing a curveball, but did you consider `min(a,b)-max(a,b) -> -abd(a,b)` instead?

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


More information about the llvm-commits mailing list