• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
2
3; ModuleID = 'bugpoint-reduced-simplified.bc'
4target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
5target triple = "x86_64-unknown-linux-gnu"
6
7; CHECK-LABEL: func
8; CHECK: testb
9; CHECK: testb
10define void @func() {
11bb1:
12  br i1 undef, label %L_10, label %L_10
13
14L_10:                                             ; preds = %bb1, %bb1
15  br i1 undef, label %L_30, label %bb56
16
17bb56:                                             ; preds = %L_10
18  br label %bb33
19
20bb33:                                             ; preds = %bb51, %bb56
21  %r111 = load i64, i64* undef, align 8
22  br i1 undef, label %bb51, label %bb35
23
24bb35:                                             ; preds = %bb33
25  br i1 undef, label %L_19, label %bb37
26
27bb37:                                             ; preds = %bb35
28  %r128 = and i64 %r111, 576460752303423488
29  %phitmp = icmp eq i64 %r128, 0
30  br label %L_19
31
32L_19:                                             ; preds = %bb37, %bb35
33  %"$V_S25.0" = phi i1 [ %phitmp, %bb37 ], [ true, %bb35 ]
34  br i1 undef, label %bb51, label %bb42
35
36bb42:                                             ; preds = %L_19
37  %r136 = select i1 %"$V_S25.0", i32* undef, i32* undef
38  br label %bb51
39
40bb51:                                             ; preds = %bb42, %L_19, %bb33
41  br i1 false, label %L_30, label %bb33
42
43L_30:                                             ; preds = %bb51, %L_10
44  ret void
45}
46