2013-05-07 00:17:29 +08:00
|
|
|
; Test a simple unconditional jump.
|
|
|
|
;
|
|
|
|
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
|
|
|
|
|
|
|
|
define void @f1(i8 *%dest) {
|
2013-07-14 14:24:09 +08:00
|
|
|
; CHECK-LABEL: f1:
|
2013-05-07 00:17:29 +08:00
|
|
|
; CHECK: .L[[LABEL:.*]]:
|
|
|
|
; CHECK: mvi 0(%r2), 1
|
2013-05-21 16:53:17 +08:00
|
|
|
; CHECK: j .L[[LABEL]]
|
2013-05-07 00:17:29 +08:00
|
|
|
br label %loop
|
|
|
|
loop:
|
|
|
|
store volatile i8 1, i8 *%dest
|
|
|
|
br label %loop
|
|
|
|
}
|