On 7/13/2026 8:45 AM, Yuao Ma wrote:
Hi!

This patch resolves PR 123311, which simplifies min(clz(x), clz(y)) to
clz(x | y), and similarly simplifies min(ctz(x), ctz(y)) to ctz(x |
y). LLVM already implements similar optimizations.

Build and tested on x86_64-linux, ok for trunk?
Sorry, I missed this patch and just acked a similar patch from Eikansh.

Jeff

Reply via email to