blob: 7b1c464f9e7d519ce9a91bbc7d017926625fbf36 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=ppc32 | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +00002; RUN: not grep "stw r31, 20(r1)"
Dan Gohmanfce288f2009-09-09 00:09:15 +00003; RUN: llc < %s -march=ppc32 | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +00004; RUN: not grep "stwu r1, -.*(r1)"
Dan Gohmanfce288f2009-09-09 00:09:15 +00005; RUN: llc < %s -march=ppc32 | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +00006; RUN: not grep "addi r1, r1, "
Dan Gohmanfce288f2009-09-09 00:09:15 +00007; RUN: llc < %s -march=ppc32 | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +00008; RUN: not grep "lwz r31, 20(r1)"
Dan Gohmanfce288f2009-09-09 00:09:15 +00009; RUN: llc < %s -march=ppc32 -disable-fp-elim | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +000010; RUN: not grep "stw r31, 20(r1)"
Dan Gohmanfce288f2009-09-09 00:09:15 +000011; RUN: llc < %s -march=ppc32 -disable-fp-elim | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +000012; RUN: not grep "stwu r1, -.*(r1)"
Dan Gohmanfce288f2009-09-09 00:09:15 +000013; RUN: llc < %s -march=ppc32 -disable-fp-elim | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +000014; RUN: not grep "addi r1, r1, "
Dan Gohmanfce288f2009-09-09 00:09:15 +000015; RUN: llc < %s -march=ppc32 -disable-fp-elim | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +000016; RUN: not grep "lwz r31, 20(r1)"
Dan Gohmanfce288f2009-09-09 00:09:15 +000017; RUN: llc < %s -march=ppc64 | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +000018; RUN: not grep "std r31, 40(r1)"
Dan Gohmanfce288f2009-09-09 00:09:15 +000019; RUN: llc < %s -march=ppc64 | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +000020; RUN: not grep "stdu r1, -.*(r1)"
Dan Gohmanfce288f2009-09-09 00:09:15 +000021; RUN: llc < %s -march=ppc64 | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +000022; RUN: not grep "addi r1, r1, "
Dan Gohmanfce288f2009-09-09 00:09:15 +000023; RUN: llc < %s -march=ppc64 | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +000024; RUN: not grep "ld r31, 40(r1)"
Dan Gohmanfce288f2009-09-09 00:09:15 +000025; RUN: llc < %s -march=ppc64 -disable-fp-elim | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +000026; RUN: not grep "stw r31, 40(r1)"
Dan Gohmanfce288f2009-09-09 00:09:15 +000027; RUN: llc < %s -march=ppc64 -disable-fp-elim | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +000028; RUN: not grep "stdu r1, -.*(r1)"
Dan Gohmanfce288f2009-09-09 00:09:15 +000029; RUN: llc < %s -march=ppc64 -disable-fp-elim | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +000030; RUN: not grep "addi r1, r1, "
Dan Gohmanfce288f2009-09-09 00:09:15 +000031; RUN: llc < %s -march=ppc64 -disable-fp-elim | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +000032; RUN: not grep "ld r31, 40(r1)"
Jim Laskey64c32dd2006-11-17 16:54:21 +000033
Tanya Lattner6f729d62008-03-25 04:26:08 +000034define i32* @f1() {
35 %tmp = alloca i32, i32 2 ; <i32*> [#uses=1]
36 ret i32* %tmp
Jim Laskey64c32dd2006-11-17 16:54:21 +000037}