xref: /minix3/external/bsd/llvm/dist/llvm/test/CodeGen/X86/mem-promote-integers.ll (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc; Test the basic functionality of integer element promotions of different types.
2f4a2713aSLionel Sambuc; This tests checks passing of arguments, loading and storing to memory and
3f4a2713aSLionel Sambuc; basic arithmetic.
4*0a6a1f1dSLionel Sambuc; RUN: llc -march=x86 < %s > /dev/null
5*0a6a1f1dSLionel Sambuc; RUN: llc -march=x86-64 < %s > /dev/null
6f4a2713aSLionel Sambuc
7f4a2713aSLionel Sambucdefine <1 x i8> @test_1xi8(<1 x i8> %x, <1 x i8>* %b) {
8f4a2713aSLionel Sambuc  %bb = load <1 x i8>* %b
9f4a2713aSLionel Sambuc  %tt = xor <1 x i8> %x, %bb
10f4a2713aSLionel Sambuc  store <1 x i8> %tt, <1 x i8>* %b
11f4a2713aSLionel Sambuc  br label %next
12f4a2713aSLionel Sambuc
13f4a2713aSLionel Sambucnext:
14f4a2713aSLionel Sambuc  ret <1 x i8> %tt
15f4a2713aSLionel Sambuc}
16f4a2713aSLionel Sambuc
17f4a2713aSLionel Sambuc
18f4a2713aSLionel Sambucdefine <1 x i16> @test_1xi16(<1 x i16> %x, <1 x i16>* %b) {
19f4a2713aSLionel Sambuc  %bb = load <1 x i16>* %b
20f4a2713aSLionel Sambuc  %tt = xor <1 x i16> %x, %bb
21f4a2713aSLionel Sambuc  store <1 x i16> %tt, <1 x i16>* %b
22f4a2713aSLionel Sambuc  br label %next
23f4a2713aSLionel Sambuc
24f4a2713aSLionel Sambucnext:
25f4a2713aSLionel Sambuc  ret <1 x i16> %tt
26f4a2713aSLionel Sambuc}
27f4a2713aSLionel Sambuc
28f4a2713aSLionel Sambuc
29f4a2713aSLionel Sambucdefine <1 x i32> @test_1xi32(<1 x i32> %x, <1 x i32>* %b) {
30f4a2713aSLionel Sambuc  %bb = load <1 x i32>* %b
31f4a2713aSLionel Sambuc  %tt = xor <1 x i32> %x, %bb
32f4a2713aSLionel Sambuc  store <1 x i32> %tt, <1 x i32>* %b
33f4a2713aSLionel Sambuc  br label %next
34f4a2713aSLionel Sambuc
35f4a2713aSLionel Sambucnext:
36f4a2713aSLionel Sambuc  ret <1 x i32> %tt
37f4a2713aSLionel Sambuc}
38f4a2713aSLionel Sambuc
39f4a2713aSLionel Sambuc
40f4a2713aSLionel Sambucdefine <1 x i64> @test_1xi64(<1 x i64> %x, <1 x i64>* %b) {
41f4a2713aSLionel Sambuc  %bb = load <1 x i64>* %b
42f4a2713aSLionel Sambuc  %tt = xor <1 x i64> %x, %bb
43f4a2713aSLionel Sambuc  store <1 x i64> %tt, <1 x i64>* %b
44f4a2713aSLionel Sambuc  br label %next
45f4a2713aSLionel Sambuc
46f4a2713aSLionel Sambucnext:
47f4a2713aSLionel Sambuc  ret <1 x i64> %tt
48f4a2713aSLionel Sambuc}
49f4a2713aSLionel Sambuc
50f4a2713aSLionel Sambuc
51f4a2713aSLionel Sambucdefine <1 x i128> @test_1xi128(<1 x i128> %x, <1 x i128>* %b) {
52f4a2713aSLionel Sambuc  %bb = load <1 x i128>* %b
53f4a2713aSLionel Sambuc  %tt = xor <1 x i128> %x, %bb
54f4a2713aSLionel Sambuc  store <1 x i128> %tt, <1 x i128>* %b
55f4a2713aSLionel Sambuc  br label %next
56f4a2713aSLionel Sambuc
57f4a2713aSLionel Sambucnext:
58f4a2713aSLionel Sambuc  ret <1 x i128> %tt
59f4a2713aSLionel Sambuc}
60f4a2713aSLionel Sambuc
61f4a2713aSLionel Sambuc
62f4a2713aSLionel Sambucdefine <1 x i256> @test_1xi256(<1 x i256> %x, <1 x i256>* %b) {
63f4a2713aSLionel Sambuc  %bb = load <1 x i256>* %b
64f4a2713aSLionel Sambuc  %tt = xor <1 x i256> %x, %bb
65f4a2713aSLionel Sambuc  store <1 x i256> %tt, <1 x i256>* %b
66f4a2713aSLionel Sambuc  br label %next
67f4a2713aSLionel Sambuc
68f4a2713aSLionel Sambucnext:
69f4a2713aSLionel Sambuc  ret <1 x i256> %tt
70f4a2713aSLionel Sambuc}
71f4a2713aSLionel Sambuc
72f4a2713aSLionel Sambuc
73f4a2713aSLionel Sambucdefine <1 x i512> @test_1xi512(<1 x i512> %x, <1 x i512>* %b) {
74f4a2713aSLionel Sambuc  %bb = load <1 x i512>* %b
75f4a2713aSLionel Sambuc  %tt = xor <1 x i512> %x, %bb
76f4a2713aSLionel Sambuc  store <1 x i512> %tt, <1 x i512>* %b
77f4a2713aSLionel Sambuc  br label %next
78f4a2713aSLionel Sambuc
79f4a2713aSLionel Sambucnext:
80f4a2713aSLionel Sambuc  ret <1 x i512> %tt
81f4a2713aSLionel Sambuc}
82f4a2713aSLionel Sambuc
83f4a2713aSLionel Sambuc
84f4a2713aSLionel Sambucdefine <2 x i8> @test_2xi8(<2 x i8> %x, <2 x i8>* %b) {
85f4a2713aSLionel Sambuc  %bb = load <2 x i8>* %b
86f4a2713aSLionel Sambuc  %tt = xor <2 x i8> %x, %bb
87f4a2713aSLionel Sambuc  store <2 x i8> %tt, <2 x i8>* %b
88f4a2713aSLionel Sambuc  br label %next
89f4a2713aSLionel Sambuc
90f4a2713aSLionel Sambucnext:
91f4a2713aSLionel Sambuc  ret <2 x i8> %tt
92f4a2713aSLionel Sambuc}
93f4a2713aSLionel Sambuc
94f4a2713aSLionel Sambuc
95f4a2713aSLionel Sambucdefine <2 x i16> @test_2xi16(<2 x i16> %x, <2 x i16>* %b) {
96f4a2713aSLionel Sambuc  %bb = load <2 x i16>* %b
97f4a2713aSLionel Sambuc  %tt = xor <2 x i16> %x, %bb
98f4a2713aSLionel Sambuc  store <2 x i16> %tt, <2 x i16>* %b
99f4a2713aSLionel Sambuc  br label %next
100f4a2713aSLionel Sambuc
101f4a2713aSLionel Sambucnext:
102f4a2713aSLionel Sambuc  ret <2 x i16> %tt
103f4a2713aSLionel Sambuc}
104f4a2713aSLionel Sambuc
105f4a2713aSLionel Sambuc
106f4a2713aSLionel Sambucdefine <2 x i32> @test_2xi32(<2 x i32> %x, <2 x i32>* %b) {
107f4a2713aSLionel Sambuc  %bb = load <2 x i32>* %b
108f4a2713aSLionel Sambuc  %tt = xor <2 x i32> %x, %bb
109f4a2713aSLionel Sambuc  store <2 x i32> %tt, <2 x i32>* %b
110f4a2713aSLionel Sambuc  br label %next
111f4a2713aSLionel Sambuc
112f4a2713aSLionel Sambucnext:
113f4a2713aSLionel Sambuc  ret <2 x i32> %tt
114f4a2713aSLionel Sambuc}
115f4a2713aSLionel Sambuc
116f4a2713aSLionel Sambuc
117f4a2713aSLionel Sambucdefine <2 x i64> @test_2xi64(<2 x i64> %x, <2 x i64>* %b) {
118f4a2713aSLionel Sambuc  %bb = load <2 x i64>* %b
119f4a2713aSLionel Sambuc  %tt = xor <2 x i64> %x, %bb
120f4a2713aSLionel Sambuc  store <2 x i64> %tt, <2 x i64>* %b
121f4a2713aSLionel Sambuc  br label %next
122f4a2713aSLionel Sambuc
123f4a2713aSLionel Sambucnext:
124f4a2713aSLionel Sambuc  ret <2 x i64> %tt
125f4a2713aSLionel Sambuc}
126f4a2713aSLionel Sambuc
127f4a2713aSLionel Sambuc
128f4a2713aSLionel Sambucdefine <2 x i128> @test_2xi128(<2 x i128> %x, <2 x i128>* %b) {
129f4a2713aSLionel Sambuc  %bb = load <2 x i128>* %b
130f4a2713aSLionel Sambuc  %tt = xor <2 x i128> %x, %bb
131f4a2713aSLionel Sambuc  store <2 x i128> %tt, <2 x i128>* %b
132f4a2713aSLionel Sambuc  br label %next
133f4a2713aSLionel Sambuc
134f4a2713aSLionel Sambucnext:
135f4a2713aSLionel Sambuc  ret <2 x i128> %tt
136f4a2713aSLionel Sambuc}
137f4a2713aSLionel Sambuc
138f4a2713aSLionel Sambuc
139f4a2713aSLionel Sambucdefine <2 x i256> @test_2xi256(<2 x i256> %x, <2 x i256>* %b) {
140f4a2713aSLionel Sambuc  %bb = load <2 x i256>* %b
141f4a2713aSLionel Sambuc  %tt = xor <2 x i256> %x, %bb
142f4a2713aSLionel Sambuc  store <2 x i256> %tt, <2 x i256>* %b
143f4a2713aSLionel Sambuc  br label %next
144f4a2713aSLionel Sambuc
145f4a2713aSLionel Sambucnext:
146f4a2713aSLionel Sambuc  ret <2 x i256> %tt
147f4a2713aSLionel Sambuc}
148f4a2713aSLionel Sambuc
149f4a2713aSLionel Sambuc
150f4a2713aSLionel Sambucdefine <2 x i512> @test_2xi512(<2 x i512> %x, <2 x i512>* %b) {
151f4a2713aSLionel Sambuc  %bb = load <2 x i512>* %b
152f4a2713aSLionel Sambuc  %tt = xor <2 x i512> %x, %bb
153f4a2713aSLionel Sambuc  store <2 x i512> %tt, <2 x i512>* %b
154f4a2713aSLionel Sambuc  br label %next
155f4a2713aSLionel Sambuc
156f4a2713aSLionel Sambucnext:
157f4a2713aSLionel Sambuc  ret <2 x i512> %tt
158f4a2713aSLionel Sambuc}
159f4a2713aSLionel Sambuc
160f4a2713aSLionel Sambuc
161f4a2713aSLionel Sambucdefine <3 x i8> @test_3xi8(<3 x i8> %x, <3 x i8>* %b) {
162f4a2713aSLionel Sambuc  %bb = load <3 x i8>* %b
163f4a2713aSLionel Sambuc  %tt = xor <3 x i8> %x, %bb
164f4a2713aSLionel Sambuc  store <3 x i8> %tt, <3 x i8>* %b
165f4a2713aSLionel Sambuc  br label %next
166f4a2713aSLionel Sambuc
167f4a2713aSLionel Sambucnext:
168f4a2713aSLionel Sambuc  ret <3 x i8> %tt
169f4a2713aSLionel Sambuc}
170f4a2713aSLionel Sambuc
171f4a2713aSLionel Sambuc
172f4a2713aSLionel Sambucdefine <3 x i16> @test_3xi16(<3 x i16> %x, <3 x i16>* %b) {
173f4a2713aSLionel Sambuc  %bb = load <3 x i16>* %b
174f4a2713aSLionel Sambuc  %tt = xor <3 x i16> %x, %bb
175f4a2713aSLionel Sambuc  store <3 x i16> %tt, <3 x i16>* %b
176f4a2713aSLionel Sambuc  br label %next
177f4a2713aSLionel Sambuc
178f4a2713aSLionel Sambucnext:
179f4a2713aSLionel Sambuc  ret <3 x i16> %tt
180f4a2713aSLionel Sambuc}
181f4a2713aSLionel Sambuc
182f4a2713aSLionel Sambuc
183f4a2713aSLionel Sambucdefine <3 x i32> @test_3xi32(<3 x i32> %x, <3 x i32>* %b) {
184f4a2713aSLionel Sambuc  %bb = load <3 x i32>* %b
185f4a2713aSLionel Sambuc  %tt = xor <3 x i32> %x, %bb
186f4a2713aSLionel Sambuc  store <3 x i32> %tt, <3 x i32>* %b
187f4a2713aSLionel Sambuc  br label %next
188f4a2713aSLionel Sambuc
189f4a2713aSLionel Sambucnext:
190f4a2713aSLionel Sambuc  ret <3 x i32> %tt
191f4a2713aSLionel Sambuc}
192f4a2713aSLionel Sambuc
193f4a2713aSLionel Sambuc
194f4a2713aSLionel Sambucdefine <3 x i64> @test_3xi64(<3 x i64> %x, <3 x i64>* %b) {
195f4a2713aSLionel Sambuc  %bb = load <3 x i64>* %b
196f4a2713aSLionel Sambuc  %tt = xor <3 x i64> %x, %bb
197f4a2713aSLionel Sambuc  store <3 x i64> %tt, <3 x i64>* %b
198f4a2713aSLionel Sambuc  br label %next
199f4a2713aSLionel Sambuc
200f4a2713aSLionel Sambucnext:
201f4a2713aSLionel Sambuc  ret <3 x i64> %tt
202f4a2713aSLionel Sambuc}
203f4a2713aSLionel Sambuc
204f4a2713aSLionel Sambuc
205f4a2713aSLionel Sambucdefine <3 x i128> @test_3xi128(<3 x i128> %x, <3 x i128>* %b) {
206f4a2713aSLionel Sambuc  %bb = load <3 x i128>* %b
207f4a2713aSLionel Sambuc  %tt = xor <3 x i128> %x, %bb
208f4a2713aSLionel Sambuc  store <3 x i128> %tt, <3 x i128>* %b
209f4a2713aSLionel Sambuc  br label %next
210f4a2713aSLionel Sambuc
211f4a2713aSLionel Sambucnext:
212f4a2713aSLionel Sambuc  ret <3 x i128> %tt
213f4a2713aSLionel Sambuc}
214f4a2713aSLionel Sambuc
215f4a2713aSLionel Sambuc
216f4a2713aSLionel Sambucdefine <3 x i256> @test_3xi256(<3 x i256> %x, <3 x i256>* %b) {
217f4a2713aSLionel Sambuc  %bb = load <3 x i256>* %b
218f4a2713aSLionel Sambuc  %tt = xor <3 x i256> %x, %bb
219f4a2713aSLionel Sambuc  store <3 x i256> %tt, <3 x i256>* %b
220f4a2713aSLionel Sambuc  br label %next
221f4a2713aSLionel Sambuc
222f4a2713aSLionel Sambucnext:
223f4a2713aSLionel Sambuc  ret <3 x i256> %tt
224f4a2713aSLionel Sambuc}
225f4a2713aSLionel Sambuc
226f4a2713aSLionel Sambuc
227f4a2713aSLionel Sambucdefine <3 x i512> @test_3xi512(<3 x i512> %x, <3 x i512>* %b) {
228f4a2713aSLionel Sambuc  %bb = load <3 x i512>* %b
229f4a2713aSLionel Sambuc  %tt = xor <3 x i512> %x, %bb
230f4a2713aSLionel Sambuc  store <3 x i512> %tt, <3 x i512>* %b
231f4a2713aSLionel Sambuc  br label %next
232f4a2713aSLionel Sambuc
233f4a2713aSLionel Sambucnext:
234f4a2713aSLionel Sambuc  ret <3 x i512> %tt
235f4a2713aSLionel Sambuc}
236f4a2713aSLionel Sambuc
237f4a2713aSLionel Sambuc
238f4a2713aSLionel Sambucdefine <4 x i8> @test_4xi8(<4 x i8> %x, <4 x i8>* %b) {
239f4a2713aSLionel Sambuc  %bb = load <4 x i8>* %b
240f4a2713aSLionel Sambuc  %tt = xor <4 x i8> %x, %bb
241f4a2713aSLionel Sambuc  store <4 x i8> %tt, <4 x i8>* %b
242f4a2713aSLionel Sambuc  br label %next
243f4a2713aSLionel Sambuc
244f4a2713aSLionel Sambucnext:
245f4a2713aSLionel Sambuc  ret <4 x i8> %tt
246f4a2713aSLionel Sambuc}
247f4a2713aSLionel Sambuc
248f4a2713aSLionel Sambuc
249f4a2713aSLionel Sambucdefine <4 x i16> @test_4xi16(<4 x i16> %x, <4 x i16>* %b) {
250f4a2713aSLionel Sambuc  %bb = load <4 x i16>* %b
251f4a2713aSLionel Sambuc  %tt = xor <4 x i16> %x, %bb
252f4a2713aSLionel Sambuc  store <4 x i16> %tt, <4 x i16>* %b
253f4a2713aSLionel Sambuc  br label %next
254f4a2713aSLionel Sambuc
255f4a2713aSLionel Sambucnext:
256f4a2713aSLionel Sambuc  ret <4 x i16> %tt
257f4a2713aSLionel Sambuc}
258f4a2713aSLionel Sambuc
259f4a2713aSLionel Sambuc
260f4a2713aSLionel Sambucdefine <4 x i32> @test_4xi32(<4 x i32> %x, <4 x i32>* %b) {
261f4a2713aSLionel Sambuc  %bb = load <4 x i32>* %b
262f4a2713aSLionel Sambuc  %tt = xor <4 x i32> %x, %bb
263f4a2713aSLionel Sambuc  store <4 x i32> %tt, <4 x i32>* %b
264f4a2713aSLionel Sambuc  br label %next
265f4a2713aSLionel Sambuc
266f4a2713aSLionel Sambucnext:
267f4a2713aSLionel Sambuc  ret <4 x i32> %tt
268f4a2713aSLionel Sambuc}
269f4a2713aSLionel Sambuc
270f4a2713aSLionel Sambuc
271f4a2713aSLionel Sambucdefine <4 x i64> @test_4xi64(<4 x i64> %x, <4 x i64>* %b) {
272f4a2713aSLionel Sambuc  %bb = load <4 x i64>* %b
273f4a2713aSLionel Sambuc  %tt = xor <4 x i64> %x, %bb
274f4a2713aSLionel Sambuc  store <4 x i64> %tt, <4 x i64>* %b
275f4a2713aSLionel Sambuc  br label %next
276f4a2713aSLionel Sambuc
277f4a2713aSLionel Sambucnext:
278f4a2713aSLionel Sambuc  ret <4 x i64> %tt
279f4a2713aSLionel Sambuc}
280f4a2713aSLionel Sambuc
281f4a2713aSLionel Sambuc
282f4a2713aSLionel Sambucdefine <4 x i128> @test_4xi128(<4 x i128> %x, <4 x i128>* %b) {
283f4a2713aSLionel Sambuc  %bb = load <4 x i128>* %b
284f4a2713aSLionel Sambuc  %tt = xor <4 x i128> %x, %bb
285f4a2713aSLionel Sambuc  store <4 x i128> %tt, <4 x i128>* %b
286f4a2713aSLionel Sambuc  br label %next
287f4a2713aSLionel Sambuc
288f4a2713aSLionel Sambucnext:
289f4a2713aSLionel Sambuc  ret <4 x i128> %tt
290f4a2713aSLionel Sambuc}
291f4a2713aSLionel Sambuc
292f4a2713aSLionel Sambuc
293f4a2713aSLionel Sambucdefine <4 x i256> @test_4xi256(<4 x i256> %x, <4 x i256>* %b) {
294f4a2713aSLionel Sambuc  %bb = load <4 x i256>* %b
295f4a2713aSLionel Sambuc  %tt = xor <4 x i256> %x, %bb
296f4a2713aSLionel Sambuc  store <4 x i256> %tt, <4 x i256>* %b
297f4a2713aSLionel Sambuc  br label %next
298f4a2713aSLionel Sambuc
299f4a2713aSLionel Sambucnext:
300f4a2713aSLionel Sambuc  ret <4 x i256> %tt
301f4a2713aSLionel Sambuc}
302f4a2713aSLionel Sambuc
303f4a2713aSLionel Sambuc
304f4a2713aSLionel Sambucdefine <4 x i512> @test_4xi512(<4 x i512> %x, <4 x i512>* %b) {
305f4a2713aSLionel Sambuc  %bb = load <4 x i512>* %b
306f4a2713aSLionel Sambuc  %tt = xor <4 x i512> %x, %bb
307f4a2713aSLionel Sambuc  store <4 x i512> %tt, <4 x i512>* %b
308f4a2713aSLionel Sambuc  br label %next
309f4a2713aSLionel Sambuc
310f4a2713aSLionel Sambucnext:
311f4a2713aSLionel Sambuc  ret <4 x i512> %tt
312f4a2713aSLionel Sambuc}
313f4a2713aSLionel Sambuc
314f4a2713aSLionel Sambuc
315f4a2713aSLionel Sambucdefine <5 x i8> @test_5xi8(<5 x i8> %x, <5 x i8>* %b) {
316f4a2713aSLionel Sambuc  %bb = load <5 x i8>* %b
317f4a2713aSLionel Sambuc  %tt = xor <5 x i8> %x, %bb
318f4a2713aSLionel Sambuc  store <5 x i8> %tt, <5 x i8>* %b
319f4a2713aSLionel Sambuc  br label %next
320f4a2713aSLionel Sambuc
321f4a2713aSLionel Sambucnext:
322f4a2713aSLionel Sambuc  ret <5 x i8> %tt
323f4a2713aSLionel Sambuc}
324f4a2713aSLionel Sambuc
325f4a2713aSLionel Sambuc
326f4a2713aSLionel Sambucdefine <5 x i16> @test_5xi16(<5 x i16> %x, <5 x i16>* %b) {
327f4a2713aSLionel Sambuc  %bb = load <5 x i16>* %b
328f4a2713aSLionel Sambuc  %tt = xor <5 x i16> %x, %bb
329f4a2713aSLionel Sambuc  store <5 x i16> %tt, <5 x i16>* %b
330f4a2713aSLionel Sambuc  br label %next
331f4a2713aSLionel Sambuc
332f4a2713aSLionel Sambucnext:
333f4a2713aSLionel Sambuc  ret <5 x i16> %tt
334f4a2713aSLionel Sambuc}
335f4a2713aSLionel Sambuc
336f4a2713aSLionel Sambuc
337f4a2713aSLionel Sambucdefine <5 x i32> @test_5xi32(<5 x i32> %x, <5 x i32>* %b) {
338f4a2713aSLionel Sambuc  %bb = load <5 x i32>* %b
339f4a2713aSLionel Sambuc  %tt = xor <5 x i32> %x, %bb
340f4a2713aSLionel Sambuc  store <5 x i32> %tt, <5 x i32>* %b
341f4a2713aSLionel Sambuc  br label %next
342f4a2713aSLionel Sambuc
343f4a2713aSLionel Sambucnext:
344f4a2713aSLionel Sambuc  ret <5 x i32> %tt
345f4a2713aSLionel Sambuc}
346f4a2713aSLionel Sambuc
347f4a2713aSLionel Sambuc
348f4a2713aSLionel Sambucdefine <5 x i64> @test_5xi64(<5 x i64> %x, <5 x i64>* %b) {
349f4a2713aSLionel Sambuc  %bb = load <5 x i64>* %b
350f4a2713aSLionel Sambuc  %tt = xor <5 x i64> %x, %bb
351f4a2713aSLionel Sambuc  store <5 x i64> %tt, <5 x i64>* %b
352f4a2713aSLionel Sambuc  br label %next
353f4a2713aSLionel Sambuc
354f4a2713aSLionel Sambucnext:
355f4a2713aSLionel Sambuc  ret <5 x i64> %tt
356f4a2713aSLionel Sambuc}
357f4a2713aSLionel Sambuc
358f4a2713aSLionel Sambuc
359f4a2713aSLionel Sambucdefine <5 x i128> @test_5xi128(<5 x i128> %x, <5 x i128>* %b) {
360f4a2713aSLionel Sambuc  %bb = load <5 x i128>* %b
361f4a2713aSLionel Sambuc  %tt = xor <5 x i128> %x, %bb
362f4a2713aSLionel Sambuc  store <5 x i128> %tt, <5 x i128>* %b
363f4a2713aSLionel Sambuc  br label %next
364f4a2713aSLionel Sambuc
365f4a2713aSLionel Sambucnext:
366f4a2713aSLionel Sambuc  ret <5 x i128> %tt
367f4a2713aSLionel Sambuc}
368f4a2713aSLionel Sambuc
369f4a2713aSLionel Sambuc
370f4a2713aSLionel Sambucdefine <5 x i256> @test_5xi256(<5 x i256> %x, <5 x i256>* %b) {
371f4a2713aSLionel Sambuc  %bb = load <5 x i256>* %b
372f4a2713aSLionel Sambuc  %tt = xor <5 x i256> %x, %bb
373f4a2713aSLionel Sambuc  store <5 x i256> %tt, <5 x i256>* %b
374f4a2713aSLionel Sambuc  br label %next
375f4a2713aSLionel Sambuc
376f4a2713aSLionel Sambucnext:
377f4a2713aSLionel Sambuc  ret <5 x i256> %tt
378f4a2713aSLionel Sambuc}
379f4a2713aSLionel Sambuc
380f4a2713aSLionel Sambuc
381f4a2713aSLionel Sambucdefine <5 x i512> @test_5xi512(<5 x i512> %x, <5 x i512>* %b) {
382f4a2713aSLionel Sambuc  %bb = load <5 x i512>* %b
383f4a2713aSLionel Sambuc  %tt = xor <5 x i512> %x, %bb
384f4a2713aSLionel Sambuc  store <5 x i512> %tt, <5 x i512>* %b
385f4a2713aSLionel Sambuc  br label %next
386f4a2713aSLionel Sambuc
387f4a2713aSLionel Sambucnext:
388f4a2713aSLionel Sambuc  ret <5 x i512> %tt
389f4a2713aSLionel Sambuc}
390f4a2713aSLionel Sambuc
391f4a2713aSLionel Sambuc
392