This change relaxes the checks for hasOnlyUniformBranches such that our region is uniform if:
- All conditional branches that are direct children are uniform.
- And either: a. All sub-regions are uniform. b. There is one or less conditional branches among the direct children.
I think this doesn't fit with what the test is actually trying to test. There's a comment above that says it wants to be changed to optnone. Perhaps better to change the run line accordingly?