1 # RUN: not llc -mtriple thumbv7-apple-ios -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
4 @G = external global i32
6 define i32 @test1(i32 %a) {
11 %cmp = icmp sgt i32 %a, -78
12 %. = zext i1 %cmp to i32
13 br i1 %cmp, label %if.then, label %if.else
19 %b = load i32, i32* @G
26 tracksRegLiveness: true
34 successors: %bb.2.if.then, %bb.1.foo
37 t2CMNri $r0, 78, 14, _, implicit-def $cpsr
38 $r1 = t2MOVi 0, 14, _, _
39 BUNDLE implicit-def dead $itstate, implicit-def $r1, implicit killed $cpsr {
40 t2IT 12, 8, implicit-def $itstate
41 $r1 = t2MOVi 1, 12, killed $cpsr, _, implicit killed $itstate
42 t2CMNri $r0, 77, 14, _, implicit-def $cpsr
43 t2Bcc %bb.1.foo, 11, killed $cpsr
44 ; CHECK: [[@LINE+1]]:3: expected '}'
48 $r0 = tMOVr killed $r1, 14, _
49 tBX_RET 14, _, implicit killed $r0