1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | \
2 ; RUN: not grep {stw r31, 20(r1)}
3 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | \
4 ; RUN: not grep {stwu r1, -.*(r1)}
5 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | \
6 ; RUN: not grep {addi r1, r1, }
7 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | \
8 ; RUN: not grep {lwz r31, 20(r1)}
9 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | \
10 ; RUN: not grep {stw r31, 20(r1)}
11 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | \
12 ; RUN: not grep {stwu r1, -.*(r1)}
13 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | \
14 ; RUN: not grep {addi r1, r1, }
15 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -disable-fp-elim | \
16 ; RUN: not grep {lwz r31, 20(r1)}
17 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | \
18 ; RUN: not grep {std r31, 40(r1)}
19 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | \
20 ; RUN: not grep {stdu r1, -.*(r1)}
21 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | \
22 ; RUN: not grep {addi r1, r1, }
23 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | \
24 ; RUN: not grep {ld r31, 40(r1)}
25 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | \
26 ; RUN: not grep {stw r31, 40(r1)}
27 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | \
28 ; RUN: not grep {stdu r1, -.*(r1)}
29 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | \
30 ; RUN: not grep {addi r1, r1, }
31 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 -disable-fp-elim | \
32 ; RUN: not grep {ld r31, 40(r1)}
38 %tmp = alloca int, uint 2