diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-12-03 00:19:17 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-12-03 00:19:17 +0000 |
commit | 1dce7b19a06742fe8bf7bf1948a8dfdcb71dd118 (patch) | |
tree | db41eea6a1b03d7e16d359e5e7f2ef49125b29cf /test/CodeGen/PowerPC/ppc32-cyclecounter.ll | |
parent | 09d2a61cd4a15a641a72f8e2ff422fa3657f6047 (diff) |
[PowerPC] Fix readcyclecounter to be custom expanded for all 32-bit targets
We need to use the custom expansion of readcyclecounter on all 32-bit targets
(even those with 64-bit registers). This should fix the ppc64 buildbot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223182 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/ppc32-cyclecounter.ll')
-rw-r--r-- | test/CodeGen/PowerPC/ppc32-cyclecounter.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/ppc32-cyclecounter.ll b/test/CodeGen/PowerPC/ppc32-cyclecounter.ll index 75d24c38348..9e2cd0b1288 100644 --- a/test/CodeGen/PowerPC/ppc32-cyclecounter.ll +++ b/test/CodeGen/PowerPC/ppc32-cyclecounter.ll @@ -1,6 +1,7 @@ target datalayout = "E-m:e-p:32:32-i64:64-n32" target triple = "powerpc" -; RUN: llc < %s | FileCheck %s +; RUN: llc -mcpu=ppc < %s | FileCheck %s +; RUN: llc -mcpu=pwr7 < %s | FileCheck %s define i64 @test1() nounwind { entry: |