[llvm] [InstCombine] Preserve profile branch weights when folding logical booleans (PR #161293)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 30 00:54:19 PDT 2025


================

----------------
nikic wrote:

Can you please make the testing more targeted, by only modifying the base case test instead of doing mass replacements for all tests?

I can't even find where the base cases are tested inside this file. I think all of these tests involve some additional folds that drop the bitwise and/or subsequently? Or are testing other folds altogether?

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


More information about the llvm-commits mailing list