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