1 ; RUN: llc -verify-machineinstrs -mtriple="powerpc-unknown-linux-gnu" < %s | FileCheck %s --check-prefix=PPC32
2 ; RUN: llc -verify-machineinstrs -mtriple="powerpc64-unknown-linux-gnu" < %s | FileCheck %s --check-prefix=PPC64
5 define i32 @regalloc() nounwind {
10 ; PPC32-LABEL: regalloc:
11 ; PPC32-NOT: stwu 1, -{{[0-9]+}}(1)
14 ; PPC64-LABEL: regalloc:
15 ; PPC64-NOT: stdu 1, -{{[0-9]+}}(1)
18 define ptr @smallstack() nounwind {
23 ; PPC32-LABEL: smallstack:
24 ; PPC32: stwu 1, -16(1)
26 ; PPC64-LABEL: smallstack:
27 ; PPC64-NOT: stdu 1, -{{[0-9]+}}(1)
30 define ptr @bigstack() nounwind {
32 %0 = alloca i8, i32 290
35 ; PPC32-LABEL: bigstack:
36 ; PPC32: stwu 1, -304(1)
38 ; PPC64-LABEL: bigstack:
39 ; PPC64: stdu 1, -352(1)