Specify CPUs on the PPC bswap-load-store test
authorHal Finkel <hfinkel@anl.gov>
Thu, 28 Mar 2013 20:35:18 +0000 (20:35 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 28 Mar 2013 20:35:18 +0000 (20:35 +0000)
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

test/CodeGen/PowerPC/bswap-load-store.ll

index 6b60fdd6e1ab4ab5f769e887e5bd34a273c38fe4..53bbc52167c4c144144b9521aa3c4176bf006490 100644 (file)
@@ -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