diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 13:57:52 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 13:57:52 +0000 |
commit | eb68f1c661e4699013017a42d7ec785841d8805f (patch) | |
tree | cd44169dd8b2ec4d1257ab11120191ff6eba95fa /test/CodeGen/SystemZ/07-BrUnCond.ll | |
parent | bad769f11aadb0b4aef1c998d2cbbfdb47de12da (diff) | |
download | external_llvm-eb68f1c661e4699013017a42d7ec785841d8805f.zip external_llvm-eb68f1c661e4699013017a42d7ec785841d8805f.tar.gz external_llvm-eb68f1c661e4699013017a42d7ec785841d8805f.tar.bz2 |
Completel forgot about unconditional branches
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SystemZ/07-BrUnCond.ll')
-rw-r--r-- | test/CodeGen/SystemZ/07-BrUnCond.ll | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/CodeGen/SystemZ/07-BrUnCond.ll b/test/CodeGen/SystemZ/07-BrUnCond.ll new file mode 100644 index 0000000..8ca6ed1 --- /dev/null +++ b/test/CodeGen/SystemZ/07-BrUnCond.ll @@ -0,0 +1,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() |