[DAGCombiner] Eliminate dead stores to stack.
[llvm-complete.git] / test / CodeGen / PowerPC / mulli64.ll
blobcee8479b6949b678fe1af105f2df72246137a5b3
1 ; RUN: llc -verify-machineinstrs -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"
5 define i64 @foo(i64 %a) #0 {
6 entry:
7   %mul = mul nsw i64 %a, 3
8   ret i64 %mul
11 ; CHECK-LABEL: @foo
12 ; CHECK: mulli 3, 3, 3
13 ; CHECK: blr
15 attributes #0 = { nounwind readnone }