HomePhabricator

StructurizeCFG: Relax uniformity checks.

Authored by sheredom on May 24 2019, 1:59 AM.

Description

StructurizeCFG: Relax uniformity checks.

This change relaxes the checks for hasOnlyUniformBranches such that our
region is uniform if:

  1. All conditional branches that are direct children are uniform.
  2. And either: a. All sub-regions are uniform. b. There is one or less conditional branches among the direct children.

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

llvm-svn: 361610

Details

Committed
sheredomMay 24 2019, 1:59 AM
Differential Revision
D62198: StructurizeCFG: Relax uniformity checks.
Parents
rGd9bb7b69abe2: [AArch64][SVE2] Asm: fix overlapping bit
Branches
Unknown
Tags
Unknown