mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
25 lines
295 B
LLVM
25 lines
295 B
LLVM
|
; RUN: opt < %s -postdomtree -analyze | FileCheck %s
|
||
|
define internal void @f() {
|
||
|
entry:
|
||
|
br i1 1, label %a, label %b
|
||
|
|
||
|
a:
|
||
|
br label %c
|
||
|
|
||
|
b:
|
||
|
br label %c
|
||
|
|
||
|
c:
|
||
|
br i1 undef, label %bb35, label %bb3.i
|
||
|
|
||
|
bb3.i:
|
||
|
br label %bb3.i
|
||
|
|
||
|
bb35.loopexit3:
|
||
|
br label %bb35
|
||
|
|
||
|
bb35:
|
||
|
ret void
|
||
|
}
|
||
|
; CHECK: [4] %entry
|