[llvm] [DAGCombiner] Fold smax(X, -1) to or(X, ashr(X, BW-1)) for code size (PR #206242)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 27 05:58:38 PDT 2026


Andarwinux wrote:

This should apply to O2+ not just Oz: https://godbolt.org/z/YGrcvqq4e

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


More information about the llvm-commits mailing list