[llvm] [InstCombine] Prefer to keep power-of-2 constants when combining ashr exact and slt/ult of a constant (PR #86111)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Mon May 6 23:38:24 PDT 2024


dtcxzyw wrote:

> However, I don't see any performance improvement/regression according to the IR diff/instruction count.

I will re-test this patch later as I noticed llvm-diff doesn't handle flags/attrs :(


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


More information about the llvm-commits mailing list