Commit 397a9cc4 authored by Noah Goldstein's avatar Noah Goldstein
Browse files

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

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

Was missing a nullptr check before derefencing. Fixed + test case
included in the patch.

Re-Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D148414
parent 18960960
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