mirror of
https://github.com/jeremysrand/llvm-65816.git
synced 2024-11-18 23:05:00 +00:00
15 lines
289 B
LLVM
15 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
|
||
|
}
|