[llvm] [InstComb] Fold shr ([x]or x, y), x -> shr y, x (PR #165866)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 1 02:14:21 PDT 2025


artagnon wrote:

> > Looks like this pattern doesn't appear in the wild? Zero diff on llvm-opt-benchmark?
> 
> Confirmed. Does this pattern come from a real-world issue?

No, unfortunately it comes from a SuperOptimizer.

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


More information about the llvm-commits mailing list