Commit 54ec8bca authored by Noah Goldstein's avatar Noah Goldstein
Browse files

Recommit "[InstCombine] Expand `foldSelectICmpAndOr` ->...

Recommit "[InstCombine] Expand `foldSelectICmpAndOr` -> `foldSelectICmpAndBinOp` to work for more binops" (3rd Try)

Fixed bug that assumed binop was commutative.
Was re-reviewed by nikic and chapuni

Differential Revision: https://reviews.llvm.org/D148414
parent a69f78b0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment