aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/SystemZ/cond-store-02.ll
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-31 12:14:17 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-31 12:14:17 +0000
commit793ce99ea79b2a51a9ace18adcae60678efaae9e (patch)
tree9db9d8bfdd4739b5beffb57093e91d28dfe7825f /test/CodeGen/SystemZ/cond-store-02.ll
parentc2884320feebc543d2ce51151d5418dfc18da9e4 (diff)
downloadexternal_llvm-793ce99ea79b2a51a9ace18adcae60678efaae9e.zip
external_llvm-793ce99ea79b2a51a9ace18adcae60678efaae9e.tar.gz
external_llvm-793ce99ea79b2a51a9ace18adcae60678efaae9e.tar.bz2
[SystemZ] Automatically detect zEC12 and z196 hosts
As on other hosts, the CPU identification instruction is priveleged, so we need to look through /proc/cpuinfo. I copied the PowerPC way of handling "generic". Several tests were implicitly assuming z10 and so failed on z196. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193742 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SystemZ/cond-store-02.ll')
-rw-r--r--test/CodeGen/SystemZ/cond-store-02.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/SystemZ/cond-store-02.ll b/test/CodeGen/SystemZ/cond-store-02.ll
index 9e18843..91bc486 100644
--- a/test/CodeGen/SystemZ/cond-store-02.ll
+++ b/test/CodeGen/SystemZ/cond-store-02.ll
@@ -1,6 +1,7 @@
-; Test 16-bit conditional stores that are presented as selects.
+; Test 16-bit conditional stores that are presented as selects. The volatile
+; tests require z10, which use a branch instead of a LOCR.
;
-; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
+; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 | FileCheck %s
declare void @foo(i16 *)