[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / MC / SystemZ / insn-bad-zos.s
bloba80d937b0be91d1a0cba964f71e453beeac4605b
1 * For z10 only.
2 * RUN: not llvm-mc -triple s390x-ibm-zos -mcpu=z10 < %s 2> %t
3 * RUN: FileCheck < %t %s
4 * RUN: not llvm-mc -triple s390x-ibm-zos -mcpu=arch8 < %s 2> %t
5 * RUN: FileCheck < %t %s
7 *CHECK: error: invalid instruction
8 jgnop foo
10 *CHECK: error: invalid instruction
11 jg foo
13 *CHECK-COUNT-22: error: invalid instruction
14 jnle foo
15 brnle foo
16 jgnle foo
17 brnlel foo
18 bnle 0(1)
19 bnler 1
20 crjnle 1,2,*+100
21 cgrjnle 1,2,*+100
22 cijnle 1,100,*+200
23 cgijnle 1,100,*+200
24 clrjnle 1,2,*+200
25 clgrjnle 1,2,*+200
26 clijnle 1,100,*+100
27 clgijnle 1,100,*+100
28 crtnle 0,foo
29 cgrtnle 0,foo
30 clrtnle 0,foo
31 clgrtnle 0,foo
32 citnle 1,foo
33 cgitnle 1,foo
34 clfitnle 1,foo
35 clgitnle 1,foo
38 *CHECK-COUNT-22: error: invalid instruction
39 jnhe foo
40 brnhe foo
41 jgnhe foo
42 brnhel foo
43 bnhe 0(1)
44 bnher 1
45 crjnhe 1,2,*+100
46 cgrjnhe 1,2,*+100
47 cijnhe 1,100,*+200
48 clgijnle 1,100,*+100
49 cgijnhe 1,100,*+200
50 clrjnhe 1,2,*+200
51 clgrjnhe 1,2,*+200
52 clijnhe 1,100,*+100
53 crtnhe 0,1
54 cgrtnhe 0,1
55 clrtnhe 0,1
56 clgrtnhe 0,1
57 citnhe 1,1
58 cgitnhe 1,1
59 clfitnhe 1,1
60 clgitnhe 1,1
63 *CHECK-COUNT-22: error: invalid instruction
64 jnlh foo
65 brnlh foo
66 jgnlh foo
67 brnlhl foo
68 bnlh 0(1)
69 bnlhr 1
70 crjnlh 1,2,*+200
71 cgrjnlh 1,2,*+200
72 cijnlh 1,100,*+200
73 cgijnlh 1,100,*+200
74 clrjnlh 1,2,*+200
75 clgrjnlh 1,2,*+200
76 clijnlh 1,100,*+100
77 clgijnlh 1,100,*+100
78 crtnlh 0,1
79 cgrtnlh 0,1
80 clrtnlh 0,1
81 clgrtnlh 0,1
82 citnlh 1,1
83 cgitnlh 1,1
84 clfitnlh 1,1
85 clgitnlh 1,1
87 *CHECK-COUNT-22: error: invalid instruction
88 brlh foo
89 jglh foo
90 jllh foo
91 brlhl foo
92 blh 0(1)
93 blhr 1
94 crjlh 1,2,*+100
95 cgrjlh 1,2,*+100
96 cijlh 1,100,*+200
97 cgijlh 1,100,*+200
98 clrjlh 1,2,*+200
99 clgrjlh 1,2,*+200
100 clijlh 1,100,*+100
101 clgijlh 1,100,*+100
102 crtlh 0,1
103 cgrtlh 0,1
104 clrtlh 0,1
105 clgrtlh 0,1
106 citlh 1,1
107 cgitlh 1,1
108 clfitlh 1,1
109 clgitlh 1,1
111 *CHECK-COUNT-22: error: invalid instruction
112 jhe foo
113 brhe foo
114 jghe foo
115 brhel foo
116 bhe 0(1)
117 bher 1
118 crjhe 1,2,*+200
119 cgrjhe 1,2,*+200
120 cijhe 1,100,*+200
121 cgijhe 1,100,*+200
122 clrjhe 1,2,*+200
123 clgrjhe 1,2,*+200
124 clijhe 1,100,*+100
125 clgijhe 1,100,*+100
126 crthe 0,1
127 cgrthe 0,1
128 clrthe 0,1
129 clgrthe 0,1
130 cithe 1,1
131 cgithe 1,1
132 clfithe 1,1
133 clgithe 1,1
135 *CHECK-COUNT-22: error: invalid instruction
136 brle foo
137 jgle foo
138 jlle foo
139 brlel foo
140 ble 0(1)
141 bler 1
142 crjle 1,2,*+200
143 cgrjle 1,2,*+200
144 cijle 1,100,*+200
145 cgijle 1,100,*+200
146 clrjle 1,2,*+200
147 clgrjle 1,2,*+200
148 clijle 1,100,*+200
149 clgijle 1,100,*+100
150 crtle 0,1
151 cgrtle 0,1
152 clrtle 0,1
153 clgrtle 0,1
154 citle 1,1
155 cgitle 1,1
156 clfitle 1,1
157 clgitle 1,1