HomePhabricator

[ZoneAlgo] Fix PHI inconsistency in invalid contexts.

Authored by Meinersbur on May 10 2019, 11:38 AM.

Description

[ZoneAlgo] Fix PHI inconsistency in invalid contexts.

PHI nodes (reads) could point to multiple instances of predecessor
blocks (PHI writes) when in an invalid context. Fix by removing PHI
instances that are in an invalid or ouside assumed context.

This fixes llvm.org/PR41656.

llvm-svn: 360454

Details

Committed
MeinersburMay 10 2019, 11:38 AM
Parents
rGe24ed10aac1d: [NFC][TSan][libdispatch] Tiny CMake file cleanup
Branches
Unknown
Tags
Unknown