Home | History | Annotate | Download | only in PowerPC
      1 ; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s
      2 target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-v128:128:128-n32:64"
      3 target triple = "powerpc64-unknown-linux-gnu"
      4 
      5 define i32 @test1(i1 %a, i32 %c) nounwind  {
      6   %x = select i1 %a, i32 %c, i32 0
      7   ret i32 %x
      8 
      9 ; CHECK: @test1
     10 ; CHECK-NOT: li {{[0-9]+}}, 0
     11 ; CHECK: isel 3, 0,
     12 ; CHECK: blr
     13 }
     14 
     15