OSDN Git Service

Nuke dead code. Nothing generates the VLD1d64QPseudo_UPD instruction.
[android-x86/external-llvm.git] / test / CodeGen / SystemZ / 03-RetAddSubreg.ll
1 ; RUN: llc < %s -march=systemz | grep ar    | count 3
2 ; RUN: llc < %s -march=systemz | grep lgfr  | count 2
3 ; RUN: llc < %s -march=systemz | grep llgfr | count 1
4
5 define i32 @foo(i32 %a, i32 %b) {
6 entry:
7     %c = add i32 %a, %b
8     ret i32 %c
9 }
10
11 define zeroext i32 @foo1(i32 %a, i32 %b)  {
12 entry:
13     %c = add i32 %a, %b
14     ret i32 %c
15 }
16
17 define signext i32 @foo2(i32 %a, i32 %b)  {
18 entry:
19     %c = add i32 %a, %b
20     ret i32 %c
21 }
22