view test/CodeGen/SystemZ/branch-01.ll @ 120:1172e4bd9c6f

update 4.0.0
author mir3636
date Fri, 25 Nov 2016 19:14:25 +0900
parents 95c75e76d11b
children
line wrap: on
line source

; 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
}