OSDN Git Service

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