Revert "[InstCombine] allow more folds for multi-use selects (2nd try)"
authorSanjay Patel <spatel@rotateright.com>
Sun, 13 Nov 2022 16:47:21 +0000 (11:47 -0500)
committerSanjay Patel <spatel@rotateright.com>
Sun, 13 Nov 2022 16:47:21 +0000 (11:47 -0500)
commit362c23500a500da7f42f06eb9b72326618863a97
treee03bae3b416aa7e000aa9984f589856197c42326
parent6eae6b3722d9204fa93b772e24afab93406cc143
Revert "[InstCombine] allow more folds for multi-use selects (2nd try)"

This reverts commit 6eae6b3722d9204fa93b772e24afab93406cc143.

This version of the patch results in the same DFSAN bot failure as before,
so my guess about the SimplifyQuery context instruction was wrong.
I don't know what the real bug is.
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/binop-select.ll