[llvm] [InstCombineCompares] Try to "strengthen" compares based on known bits. (PR #79405)

Mikhail Gudim via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 5 22:40:03 PST 2024


mgudim wrote:

@dtcxzyw I think it's better to limit this only to the case when result of `icmp` is used in branches. I pushed the commit with this change and I'll fix the tests soon.

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


More information about the llvm-commits mailing list