https://github.com/nikic commented: At this point, do we need analyzeSelect() at all? Can't the "can this be optimized?" check also be handled by optimizeSelect() directly? https://github.com/llvm/llvm-project/pull/175828