1 ; RUN: llvm-as < %s | \
2 ; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
3 ; RUN: not grep {stw r31, 20(r1)}
4 ; RUN: llvm-as < %s | \
5 ; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | grep {lis r0, -1}
6 ; RUN: llvm-as < %s | \
7 ; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
8 ; RUN: grep {ori r0, r0, 32704}
9 ; RUN: llvm-as < %s | \
10 ; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
11 ; RUN: grep {stwux r1, r1, r0}
12 ; RUN: llvm-as < %s | \
13 ; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
14 ; RUN: grep {lwz r1, 0(r1)}
15 ; RUN: llvm-as < %s | \
16 ; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
17 ; RUN: not grep {lwz r31, 20(r1)}
18 ; RUN: llvm-as < %s | \
19 ; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
20 ; RUN: grep {stw r31, 20(r1)}
21 ; RUN: llvm-as < %s | \
22 ; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
23 ; RUN: grep {lis r0, -1}
24 ; RUN: llvm-as < %s | \
25 ; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
26 ; RUN: grep {ori r0, r0, 32704}
27 ; RUN: llvm-as < %s | \
28 ; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
29 ; RUN: grep {stwux r1, r1, r0}
30 ; RUN: llvm-as < %s | \
31 ; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
32 ; RUN: grep {lwz r1, 0(r1)}
33 ; RUN: llvm-as < %s | \
34 ; RUN: llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
35 ; RUN: grep {lwz r31, 20(r1)}
36 ; RUN: llvm-as < %s | \
37 ; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 | \
38 ; RUN: not grep {std r31, 40(r1)}
39 ; RUN: llvm-as < %s | \
40 ; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 | \
41 ; RUN: grep {lis r0, -1}
42 ; RUN: llvm-as < %s | \
43 ; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 | \
44 ; RUN: grep {ori r0, r0, 32656}
45 ; RUN: llvm-as < %s | \
46 ; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 | \
47 ; RUN: grep {stdux r1, r1, r0}
48 ; RUN: llvm-as < %s | \
49 ; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 | \
50 ; RUN: grep {ld r1, 0(r1)}
51 ; RUN: llvm-as < %s | \
52 ; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 | \
53 ; RUN: not grep {ld r31, 40(r1)}
54 ; RUN: llvm-as < %s | \
55 ; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
56 ; RUN: grep {std r31, 40(r1)}
57 ; RUN: llvm-as < %s | \
58 ; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
59 ; RUN: grep {lis r0, -1}
60 ; RUN: llvm-as < %s | \
61 ; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
62 ; RUN: grep {ori r0, r0, 32656}
63 ; RUN: llvm-as < %s | \
64 ; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
65 ; RUN: grep {stdux r1, r1, r0}
66 ; RUN: llvm-as < %s | \
67 ; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
68 ; RUN: grep {ld r1, 0(r1)}
69 ; RUN: llvm-as < %s | \
70 ; RUN: llc -march=ppc64 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | \
71 ; RUN: grep {ld r31, 40(r1)}
74 %tmp = alloca i32, i32 8191 ; <i32*> [#uses=1]