mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-24 05:23:45 +02:00
ff5c840711
and also "clang-format GenericDomTreeConstruction.h, since the current formatting makes it look like their is a bug in the loop indentation, and there is not" This reverts commit r296535. There are still some open design questions which I would like to discuss. I revert this for Daniel (who gave the OK), as he is on vacation. llvm-svn: 296812
25 lines
400 B
LLVM
25 lines
400 B
LLVM
; RUN: opt -regions -analyze < %s | FileCheck %s
|
|
|
|
define void @normal_condition() nounwind {
|
|
0:
|
|
br label %"7"
|
|
7:
|
|
br i1 1, label %"1", label %"8"
|
|
1:
|
|
br i1 1, label %"6", label %"3"
|
|
6:
|
|
br label %"8"
|
|
8:
|
|
br label %"8"
|
|
3:
|
|
br label %"4"
|
|
4:
|
|
ret void
|
|
}
|
|
|
|
; CHECK: Region tree:
|
|
; CHECK-NEXT: [0] 0 => <Function Return>
|
|
; CHECK-NEXT: [1] 7 => 3
|
|
; CHECK-NEXT: End region tree
|
|
|