• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=arm64
2
3; Make sure we are not crashing on this test.
4
5define void @autogen_SD12881() {
6BB:
7  %B17 = ashr <4 x i32> zeroinitializer, zeroinitializer
8  br label %CF
9
10CF:                                               ; preds = %CF83, %CF, %BB
11  br i1 undef, label %CF, label %CF83
12
13CF83:                                             ; preds = %CF
14  %FC70 = sitofp <4 x i32> %B17 to <4 x double>
15  br label %CF
16}
17
18
19define void @autogen_SD12881_2() {
20BB:
21  %B17 = ashr <4 x i32> zeroinitializer, zeroinitializer
22  br label %CF
23
24CF:                                               ; preds = %CF83, %CF, %BB
25  br i1 undef, label %CF, label %CF83
26
27CF83:                                             ; preds = %CF
28  %FC70 = uitofp <4 x i32> %B17 to <4 x double>
29  br label %CF
30}
31
32define void @_Z12my_example2bv() nounwind noinline ssp {
33entry:
34  %0 = fptosi <2 x double> undef to <2 x i32>
35  store <2 x i32> %0, <2 x i32>* undef, align 8
36  ret void
37}
38