[llvm] [InstCombine] Canonicalize `abs(sub(ext(X),ext(Y)))` -> `ext(sub(max(X,Y),min(X,Y)))` (PR #162296)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 7 08:17:04 PDT 2025


nikic wrote:

That would be a question for @fhahn. The loop vectorizer has some support for narrowing values, but I'm not sure where this kind of more complex pattern would fit in.

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


More information about the llvm-commits mailing list