diff options
author | Neil Henning <neil.henning@amd.com> | 2019-05-24 08:59:17 +0000 |
---|---|---|
committer | Neil Henning <neil.henning@amd.com> | 2019-05-24 08:59:17 +0000 |
commit | 119c31ad9374210b5a950960a401582aac0c5333 (patch) | |
tree | 7b4ca0329f12987f1ec31bf326adc1b14c6a1c29 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | d9bb7b69abe266ab8d3ba54186604af9cc8750ad (diff) | |
download | bcm5719-llvm-119c31ad9374210b5a950960a401582aac0c5333.tar.gz bcm5719-llvm-119c31ad9374210b5a950960a401582aac0c5333.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions