blob: f05af43127d2cb99821e5ee0f9d6935ba0caebe3 [file] [log] [blame]
Matthias Braun538859c2016-07-16 02:24:59 +00001# RUN: not llc -mtriple thumbv7-apple-ios -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
Alex Lorenzf9a2b122015-08-14 18:57:24 +00002
3--- |
4 define i32 @test1(i32 %a) {
5 entry:
6 %cmp = icmp sgt i32 %a, -78
7 %. = zext i1 %cmp to i32
8 ret i32 %.
9 }
10...
11---
12name: test1
13tracksRegLiveness: true
14liveins:
Puyan Lotfi43e94b12018-01-31 22:04:26 +000015 - { reg: '$r0' }
Alex Lorenzf9a2b122015-08-14 18:57:24 +000016body: |
17 bb.0.entry:
Puyan Lotfi43e94b12018-01-31 22:04:26 +000018 liveins: $r0
19 $r1 = t2MOVi 0, 14, _, _
20 t2CMNri killed $r0, 78, 14, _, implicit-def $cpsr
21 BUNDLE implicit-def dead $itstate, implicit-def $r1, implicit killed $cpsr {
22 t2IT 12, 8, implicit-def $itstate
23 $r1 = t2MOVi 1, 12, killed $cpsr, _
Alex Lorenzf9a2b122015-08-14 18:57:24 +000024 ; CHECK: [[@LINE+1]]:14: nested instruction bundles are not allowed
25 BUNDLE {
26 }
27 }
Puyan Lotfi43e94b12018-01-31 22:04:26 +000028 $r0 = tMOVr killed $r1, 14, _
29 tBX_RET 14, _, implicit killed $r0
Alex Lorenzf9a2b122015-08-14 18:57:24 +000030...