OSDN Git Service

Nuke dead code. Nothing generates the VLD1d64QPseudo_UPD instruction.
[android-x86/external-llvm.git] / test / CodeGen / SystemZ / 08-SimpleMuls.ll
1 ; RUN: llc < %s | grep msgr | count 2
2 ; RUN: llc < %s | grep msr  | count 2
3
4 target datalayout = "E-p:64:64:64-i1:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128"
5 target triple = "s390x-unknown-linux-gnu"
6
7 define i64 @foo(i64 %a, i64 %b) nounwind readnone {
8 entry:
9         %mul = mul i64 %b, %a           ; <i64> [#uses=1]
10         ret i64 %mul
11 }
12
13 define i64 @foo2(i64 %a, i64 %b) nounwind readnone {
14 entry:
15         %mul = mul i64 %b, %a           ; <i64> [#uses=1]
16         ret i64 %mul
17 }
18
19 define i32 @foo3(i32 %a, i32 %b) nounwind readnone {
20 entry:
21         %mul = mul i32 %b, %a           ; <i32> [#uses=1]
22         ret i32 %mul
23 }
24
25 define i32 @foo4(i32 %a, i32 %b) nounwind readnone {
26 entry:
27         %mul = mul i32 %b, %a           ; <i32> [#uses=1]
28         ret i32 %mul
29 }