Home | History | Annotate | Download | only in PowerPC
      1 ; RUN: llc -mcpu=pwr7 -mtriple=powerpc64-unknown-linux-gnu < %s | 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 i64 @foo(i64 %a) #0 {
      6 entry:
      7   %mul = mul nsw i64 %a, 3
      8   ret i64 %mul
      9 }
     10 
     11 ; CHECK-LABEL: @foo
     12 ; CHECK: mulli 3, 3, 3
     13 ; CHECK: blr
     14 
     15 attributes #0 = { nounwind readnone }
     16 
     17