• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=ppc32 | \
2; RUN:   not grep "stw r31, 20(r1)"
3; RUN: llc < %s -march=ppc32 | \
4; RUN:   not grep "stwu r1, -.*(r1)"
5; RUN: llc < %s -march=ppc32 | \
6; RUN:   not grep "addi r1, r1, "
7; RUN: llc < %s -march=ppc32 | \
8; RUN:   not grep "lwz r31, 20(r1)"
9; RUN: llc < %s -march=ppc32 -disable-fp-elim | \
10; RUN:   not grep "stw r31, 20(r1)"
11; RUN: llc < %s -march=ppc32 -disable-fp-elim | \
12; RUN:   not grep "stwu r1, -.*(r1)"
13; RUN: llc < %s -march=ppc32 -disable-fp-elim | \
14; RUN:   not grep "addi r1, r1, "
15; RUN: llc < %s -march=ppc32 -disable-fp-elim | \
16; RUN:   not grep "lwz r31, 20(r1)"
17; RUN: llc < %s -march=ppc64 | \
18; RUN:   not grep "std r31, 40(r1)"
19; RUN: llc < %s -march=ppc64 | \
20; RUN:   not grep "stdu r1, -.*(r1)"
21; RUN: llc < %s -march=ppc64 | \
22; RUN:   not grep "addi r1, r1, "
23; RUN: llc < %s -march=ppc64 | \
24; RUN:   not grep "ld r31, 40(r1)"
25; RUN: llc < %s -march=ppc64 -disable-fp-elim | \
26; RUN:   not grep "stw r31, 40(r1)"
27; RUN: llc < %s -march=ppc64 -disable-fp-elim | \
28; RUN:   not grep "stdu r1, -.*(r1)"
29; RUN: llc < %s -march=ppc64 -disable-fp-elim | \
30; RUN:   not grep "addi r1, r1, "
31; RUN: llc < %s -march=ppc64 -disable-fp-elim | \
32; RUN:   not grep "ld r31, 40(r1)"
33
34define i32* @f1() {
35        %tmp = alloca i32, i32 2                ; <i32*> [#uses=1]
36        ret i32* %tmp
37}
38