HomePhabricator

[SimplifyCFG] Handle AssumptionCache being null.

Authored by rcorcs on Dec 7 2019, 8:47 AM.

Description

[SimplifyCFG] Handle AssumptionCache being null.

AssumptionCache can be null in SimplifyCFGOptions. However, FoldCondBranchOnPHI() was not properly handling that when passing a null AssumptionCache to simplifyCFG.

Patch by Rodrigo Caetano Rocha <rcor.cs@gmail.com>

Reviewers: fhahn, lebedev.ri, spatel

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D69963

Details

Committed
fhahnDec 7 2019, 8:54 AM
Reviewer
spatel
Differential Revision
D69963: Handling null AssumptionCache in simplifyCFG
Parents
rG071dca24cea9: [OpenMP] Require trivially copyable type for mapping
Branches
Unknown
Tags
Unknown