allwinner_a64/android/external/llvm/test/CodeGen/SystemZ/branch-01.ll
2018-08-08 16:14:42 +08:00

14 lines
289 B
LLVM

; Test a simple unconditional jump.
;
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
define void @f1(i8 *%dest) {
; CHECK-LABEL: f1:
; CHECK: .L[[LABEL:.*]]:
; CHECK: mvi 0(%r2), 1
; CHECK: j .L[[LABEL]]
br label %loop
loop:
store volatile i8 1, i8 *%dest
br label %loop
}