summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-03-28 20:35:18 +0000
committerHal Finkel <hfinkel@anl.gov>2013-03-28 20:35:18 +0000
commitaf0d148b2038e7f4ba1894f975353890faf0eeb5 (patch)
treeb7f0613e79f1d500d5d592b1860778fc32383a79 /test/CodeGen/PowerPC
parent2544f221c5f4047d7bdf10ec911c86a1d8be4a29 (diff)
downloadllvm-af0d148b2038e7f4ba1894f975353890faf0eeb5.tar.gz
llvm-af0d148b2038e7f4ba1894f975353890faf0eeb5.tar.bz2
llvm-af0d148b2038e7f4ba1894f975353890faf0eeb5.tar.xz
Specify CPUs on the PPC bswap-load-store test
Otherwise, the CHECK-NOT's might trigger depending on the host's CPU. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178287 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r--test/CodeGen/PowerPC/bswap-load-store.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/bswap-load-store.ll b/test/CodeGen/PowerPC/bswap-load-store.ll
index 6b60fdd6e1..53bbc52167 100644
--- a/test/CodeGen/PowerPC/bswap-load-store.ll
+++ b/test/CodeGen/PowerPC/bswap-load-store.ll
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=ppc32 | FileCheck %s -check-prefix=X32
-; RUN: llc < %s -march=ppc64 | FileCheck %s -check-prefix=X64
+; RUN: llc < %s -march=ppc32 -mcpu=ppc32 | FileCheck %s -check-prefix=X32
+; RUN: llc < %s -march=ppc64 -mcpu=ppc64 | FileCheck %s -check-prefix=X64
; RUN: llc < %s -march=ppc64 -mcpu=pwr7 | FileCheck %s -check-prefix=PWR7
; RUN: llc < %s -march=ppc32 -mcpu=pwr7 | FileCheck %s -check-prefix=X32