Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment