Anton Korobeynikov | eb68f1c | 2009-07-16 13:57:52 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llc |
2 | |||||
3 | 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" | ||||
4 | target triple = "s390x-linux" | ||||
5 | |||||
6 | define void @foo() noreturn nounwind { | ||||
7 | entry: | ||||
8 | tail call void @baz() nounwind | ||||
9 | br label %l1 | ||||
10 | |||||
11 | l1: ; preds = %entry, %l1 | ||||
12 | tail call void @bar() nounwind | ||||
13 | br label %l1 | ||||
14 | } | ||||
15 | |||||
16 | declare void @bar() | ||||
17 | |||||
18 | declare void @baz() |