Home | History | Annotate | Download | only in X86
      1 ; RUN: llc  -mcpu=corei7 -mtriple=x86_64-linux -align-all-blocks=16 < %s | FileCheck %s
      2 
      3 ;CHECK-LABEL: foo:
      4 ;CHECK: .p2align  16, 0x90
      5 ;CHECK: .p2align  16, 0x90
      6 ;CHECK: .p2align  16, 0x90
      7 ;CHECK: ret
      8 define i32 @foo(i32 %t, i32 %l) nounwind readnone ssp uwtable {
      9   %1 = icmp eq i32 %t, 0
     10   br i1 %1, label %4, label %2
     11 
     12 ; <label>:2                                       ; preds = %0
     13   %3 = add nsw i32 %t, 2
     14   ret i32 %3
     15 
     16 ; <label>:4                                       ; preds = %0
     17   %5 = icmp eq i32 %l, 0
     18   %. = select i1 %5, i32 0, i32 5
     19   ret i32 %.
     20 }
     21 
     22 
     23