llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[InstCombine] Don't reassociate select if already logical

Open nikic opened this issue 1 month ago • 0 comments

The intent of the fold was to convert two selects into a logical and/or and a select. However, it also ends up reassociating two logical and/ors.

Fixes https://github.com/llvm/llvm-project/issues/172591.

nikic avatar Dec 17 '25 13:12 nikic