summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/it-nv.s
blob: dc717db3818fcb4c2b4113cbfa7d3d36298a4968 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@ RUN: not llvm-mc -triple thumbv7m-apple-macho %s 2> %t.errs
@ RUN: FileCheck %s < %t.errs --check-prefix=CHECK-ERRS

@ CHECK-ERRS: error: unpredictable IT predicate sequence
@ CHECK-ERRS:     ite al
@ CHECK-ERRS: error: unpredictable IT predicate sequence
@ CHECK-ERRS:     itee al
@ CHECK-ERRS: error: unpredictable IT predicate sequence
@ CHECK-ERRS:     itet al
@ CHECK-ERRS: error: unpredictable IT predicate sequence
@ CHECK-ERRS:     itte al
@ CHECK-ERRS: error: unpredictable IT predicate sequence
@ CHECK-ERRS:     ittte al
    ite al
    itee al
    itet al
    itte al
    ittte al

@ CHECK-ERRS-NOT: error
    it al
    nop

    itt al
    nop
    nop

    ittt al
    nop
    nop
    nop

    itttt al
    nop
    nop
    nop
    nop

    ite eq
    nopeq
    nopne

    iteet hi
    nophi
    nopls
    nopls
    nophi
OpenPOWER on IntegriCloud