• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=armv7-apple-darwin -arm-atomic-cfg-tidy=0 | FileCheck %s
2
3define double @f1() nounwind {
4; CHECK-LABEL: f1:
5; CHECK: .data_region
6; CHECK: .long 1413754129
7; CHECK: .long 1074340347
8; CHECK: .end_data_region
9  ret double 0x400921FB54442D11
10}
11
12
13define i32 @f2()  {
14; CHECK-LABEL: f2:
15; CHECK: .data_region jt32
16; CHECK: .end_data_region
17
18entry:
19  switch i32 undef, label %return [
20    i32 1, label %sw.bb
21    i32 2, label %sw.bb6
22    i32 3, label %sw.bb13
23    i32 4, label %sw.bb20
24  ]
25
26sw.bb:                                            ; preds = %entry
27  br label %return
28
29sw.bb6:                                           ; preds = %entry
30  br label %return
31
32sw.bb13:                                          ; preds = %entry
33  br label %return
34
35sw.bb20:                                          ; preds = %entry
36  %div = sdiv i32 undef, undef
37  br label %return
38
39return:                                           ; preds = %sw.bb20, %sw.bb13, %sw.bb6, %sw.bb, %entry
40  %retval.0 = phi i32 [ %div, %sw.bb20 ], [ undef, %sw.bb13 ], [ undef, %sw.bb6 ], [ undef, %sw.bb ], [ 0, %entry ]
41  ret i32 %retval.0
42}
43