summaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ/int-add-11.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/int-add-11.ll
parentc2884320feebc543d2ce51151d5418dfc18da9e4 (diff)
downloadllvm-793ce99ea79b2a51a9ace18adcae60678efaae9e.tar.gz
llvm-793ce99ea79b2a51a9ace18adcae60678efaae9e.tar.bz2
llvm-793ce99ea79b2a51a9ace18adcae60678efaae9e.tar.xz
[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/int-add-11.ll')
-rw-r--r--test/CodeGen/SystemZ/int-add-11.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/SystemZ/int-add-11.ll b/test/CodeGen/SystemZ/int-add-11.ll
index 212334e83c..679c206094 100644
--- a/test/CodeGen/SystemZ/int-add-11.ll
+++ b/test/CodeGen/SystemZ/int-add-11.ll
@@ -1,6 +1,7 @@
-; Test 32-bit additions of constants to memory.
+; Test 32-bit additions of constants to memory. The tests here
+; assume z10 register pressure, without the high words being available.
;
-; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
+; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 | FileCheck %s
; Check additions of 1.
define void @f1(i32 *%ptr) {