aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/SystemZ/07-BrUnCond.ll
blob: 8ca6ed1a261056afc6966fed6ba1b5fc245fd127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; RUN: llvm-as < %s | llc

target datalayout = "E-p:64:64:64-i1:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128"
target triple = "s390x-linux"

define void @foo() noreturn nounwind {
entry:
	tail call void @baz() nounwind
	br label %l1

l1:		; preds = %entry, %l1
	tail call void @bar() nounwind
	br label %l1
}

declare void @bar()

declare void @baz()