summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SystemZ/frame-16.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
commitf834ea19dbd28d876e089af6384373e0c4af4f5e (patch)
tree3a31a952160010c737ed5cadbe1057dc087363c3 /llvm/test/CodeGen/SystemZ/frame-16.ll
parentd764fcbd5a35d7abdba1ba4735da09c28e240d8a (diff)
downloadbcm5719-llvm-f834ea19dbd28d876e089af6384373e0c4af4f5e.tar.gz
bcm5719-llvm-f834ea19dbd28d876e089af6384373e0c4af4f5e.zip
[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. llvm-svn: 193742
Diffstat (limited to 'llvm/test/CodeGen/SystemZ/frame-16.ll')
-rw-r--r--llvm/test/CodeGen/SystemZ/frame-16.ll8
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/SystemZ/frame-16.ll b/llvm/test/CodeGen/SystemZ/frame-16.ll
index 9f43b4947f0..f7e2dfa3514 100644
--- a/llvm/test/CodeGen/SystemZ/frame-16.ll
+++ b/llvm/test/CodeGen/SystemZ/frame-16.ll
@@ -1,8 +1,12 @@
; Test the handling of base + index + displacement addresses for large frames,
; in cases where both 12-bit and 20-bit displacements are allowed.
+; The tests here assume z10 register pressure, without the high words
+; being available.
;
-; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck -check-prefix=CHECK-NOFP %s
-; RUN: llc < %s -mtriple=s390x-linux-gnu -disable-fp-elim | FileCheck -check-prefix=CHECK-FP %s
+; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 | \
+; RUN: FileCheck -check-prefix=CHECK-NOFP %s
+; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 -disable-fp-elim | \
+; RUN: FileCheck -check-prefix=CHECK-FP %s
; This file tests what happens when a displacement is converted from
; being relative to the start of a frame object to being relative to
OpenPOWER on IntegriCloud