HomePhabricator

Fix verifier crashing on some invalid IR

Authored by mehdi_amini on Jun 16 2021, 11:59 AM.

Description

Fix verifier crashing on some invalid IR

In a region with multiple blocks the verifier will try to look for
dominance and may get successor list for blocks, even though a block
may be empty or does not end with a terminator.

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

Details

Committed
mehdi_aminiJun 16 2021, 12:36 PM
Differential Revision
D104411: Fix verifier crashing on some invalid IR
Parents
rG27963ccf0768: [NFC][ScalarEvolution] Refactor createNodeForSelectOrPHI
Branches
Unknown
Tags
Unknown