-; RUN: llc < %s -march=ppc32 | \
-; RUN: grep align.4 | count 1
-; RUN: llc < %s -march=ppc32 | \
-; RUN: grep align.2 | count 1
-; RUN: llc < %s -march=ppc32 | \
-; RUN: grep align.3 | count 1
+; RUN: llc < %s -mtriple=powerpc-linux-gnu | FileCheck %s -check-prefix=ELF
+; RUN: llc < %s -mtriple=powerpc-apple-darwin9 | FileCheck %s -check-prefix=DARWIN
+; RUN: llc < %s -mtriple=powerpc-apple-darwin8 | FileCheck %s -check-prefix=DARWIN8