[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / MC / SystemZ / tokens.s
blobbf8c4e9067856cefa82b8223e1353604f756a730
1 # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
2 # RUN: FileCheck < %t %s
4 #CHECK: error: invalid instruction
5 #CHECK: foo 100, 200
6 #CHECK: error: unknown token in expression
7 #CHECK: foo 100(, 200
8 #CHECK: error: invalid instruction
9 #CHECK: foo 100(200), 300
10 #CHECK: error: register expected
11 #CHECK: foo 100(200,), 300
12 #CHECK: error: invalid instruction
13 #CHECK: foo 100(200,%r1), 300
14 #CHECK: error: invalid address register
15 #CHECK: foo 100(%a0), 200
16 #CHECK: error: invalid instruction
17 #CHECK: foo 100(%r0), 200
18 #CHECK: error: invalid instruction
19 #CHECK: foo 100(%v0,%r1), 200
20 #CHECK: error: invalid instruction
21 #CHECK: foo 100(%v31), 200
22 #CHECK: error: invalid address register
23 #CHECK: foo 100(%r1,%a0), 200
24 #CHECK: error: unexpected token in address
25 #CHECK: foo 100(%r1,%r2, 200
26 #CHECK: error: invalid instruction
27 #CHECK: foo 100(%r1,%r2), 200
28 #CHECK: error: unexpected token in argument list
29 #CHECK: foo 100(%r1,%r2)(, 200
30 #CHECK: error: invalid instruction
31 #CHECK: foo %r0, 200
32 #CHECK: error: invalid instruction
33 #CHECK: foo %r15, 200
34 #CHECK: error: invalid register
35 #CHECK: foo %r16, 200
36 #CHECK: error: invalid instruction
37 #CHECK: foo %f0, 200
38 #CHECK: error: invalid instruction
39 #CHECK: foo %f15, 200
40 #CHECK: error: invalid register
41 #CHECK: foo %f16, 200
42 #CHECK: error: invalid instruction
43 #CHECK: foo %a0, 200
44 #CHECK: error: invalid instruction
45 #CHECK: foo %a15, 200
46 #CHECK: error: invalid register
47 #CHECK: foo %a16, 200
48 #CHECK: error: invalid instruction
49 #CHECK: foo %v0, 200
50 #CHECK: error: invalid instruction
51 #CHECK: foo %v31, 200
52 #CHECK: error: invalid register
53 #CHECK: foo %v32, 200
54 #CHECK: error: invalid register
55 #CHECK: foo %c, 200
56 #CHECK: error: invalid register
57 #CHECK: foo %, 200
58 #CHECK: error: unknown token in expression
59 #CHECK: foo {, 200
60 #CHECK: error: invalid instruction
61 #CHECK: foo 100(15), 300
62 #CHECK: error: register expected
63 #CHECK: foo 100(15,), 300
64 #CHECK: error: invalid instruction
65 #CHECK: foo 100(15,%r1), 300
66 #CHECK: error: invalid instruction
67 #CHECK: foo 100(%v20,10), 300
69 foo 100, 200
70 foo 100(, 200
71 foo 100(200), 300
72 foo 100(200,), 300
73 foo 100(200,%r1), 300
74 foo 100(%a0), 200
75 foo 100(%r0), 200
76 foo 100(%v0,%r1), 200
77 foo 100(%v31), 200
78 foo 100(%r1,%a0), 200
79 foo 100(%r1,%r2, 200
80 foo 100(%r1,%r2), 200
81 foo 100(%r1,%r2)(, 200
82 foo %r0, 200
83 foo %r15, 200
84 foo %r16, 200
85 foo %f0, 200
86 foo %f15, 200
87 foo %f16, 200
88 foo %a0, 200
89 foo %a15, 200
90 foo %a16, 200
91 foo %v0, 200
92 foo %v31, 200
93 foo %v32, 200
94 foo %c, 200
95 foo %, 200
96 foo {, 200
97 foo 100(15), 300
98 foo 100(15,), 300
99 foo 100(15,%r1), 300
100 foo 100(%v20,10), 300