[AArch64] Removed unused i8 type from FPR8 register class.
[oota-llvm.git] / test / CodeGen / AArch64 / concatvector-v8i8-bug.ll
1 ; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon
2 ; Bug: i8 type in FRP8 register but not registering with register class causes segmentation fault.
3 ; Fix: Removed i8 type from FPR8 register class.
4
5 define void @test_concatvector_v8i8() {
6 entry.split:
7   br i1 undef, label %if.then, label %if.end
8
9 if.then:                                          ; preds = %entry.split
10   unreachable
11
12 if.end:                                           ; preds = %entry.split
13   br i1 undef, label %if.then9, label %if.end18
14
15 if.then9:                                         ; preds = %if.end
16   unreachable
17
18 if.end18:                                         ; preds = %if.end
19   br label %for.body
20
21 for.body:                                         ; preds = %for.inc, %if.end18
22   br i1 false, label %if.then30, label %for.inc
23
24 if.then30:                                        ; preds = %for.body
25   unreachable
26
27 for.inc:                                          ; preds = %for.body
28   br i1 undef, label %for.end, label %for.body
29
30 for.end:                                          ; preds = %for.inc
31   br label %for.body77
32
33 for.body77:                                       ; preds = %for.body77, %for.end
34   br i1 undef, label %for.end106, label %for.body77
35
36 for.end106:                                       ; preds = %for.body77
37   br i1 undef, label %for.body130.us.us, label %stmt.for.body130.us.us
38
39 stmt.for.body130.us.us:                     ; preds = %stmt.for.body130.us.us, %for.end106
40   %_p_splat.us = shufflevector <1 x i8> zeroinitializer, <1 x i8> undef, <8 x i32> zeroinitializer
41   store <8 x i8> %_p_splat.us, <8 x i8>* undef, align 1
42   br label %stmt.for.body130.us.us
43
44 for.body130.us.us:                                ; preds = %for.body130.us.us, %for.end106
45   br label %for.body130.us.us
46 }
47