diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-05-06 16:17:29 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-05-06 16:17:29 +0000 |
commit | 9e3577ff44fe5360c72fad02fbe931977f9235fb (patch) | |
tree | 23b3903f13f5307e8ee2d834a01ca56fc86b88ed /llvm/test/CodeGen/SystemZ/branch-01.ll | |
parent | 5f613dfd1f7edb0ae95d521b7107b582d9df5103 (diff) | |
download | bcm5719-llvm-9e3577ff44fe5360c72fad02fbe931977f9235fb.tar.gz bcm5719-llvm-9e3577ff44fe5360c72fad02fbe931977f9235fb.zip |
[SystemZ] Add CodeGen test cases
This adds all CodeGen tests for the SystemZ target.
This version of the patch incorporates feedback from a review by
Sean Silva. Thanks to all reviewers!
Patch by Richard Sandiford.
llvm-svn: 181204
Diffstat (limited to 'llvm/test/CodeGen/SystemZ/branch-01.ll')
-rw-r--r-- | llvm/test/CodeGen/SystemZ/branch-01.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/SystemZ/branch-01.ll b/llvm/test/CodeGen/SystemZ/branch-01.ll new file mode 100644 index 00000000000..8ff91ac38e8 --- /dev/null +++ b/llvm/test/CodeGen/SystemZ/branch-01.ll @@ -0,0 +1,14 @@ +; Test a simple unconditional jump. +; +; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s + +define void @f1(i8 *%dest) { +; CHECK: f1: +; CHECK: .L[[LABEL:.*]]: +; CHECK: mvi 0(%r2), 1 +; CHECK: j{{g?}} .L[[LABEL]] + br label %loop +loop: + store volatile i8 1, i8 *%dest + br label %loop +} |