[llvm] [InstCombine] Add transforms for `(or/and (icmp eq/ne X,0),(icmp eq/ne X,Pow2OrZero))` (PR #94648)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 8 14:13:29 PDT 2024


dtcxzyw wrote:

> Did this fold produce _any_ positive diffs? It seems like it's always either neutral (inverting a predicate) or a regression, but maybe I didn't see some.

See bench/php/optimized/php_date.ll

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


More information about the llvm-commits mailing list