summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SystemZ/fp-move-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
commitf834ea19dbd28d876e089af6384373e0c4af4f5e (patch)
tree3a31a952160010c737ed5cadbe1057dc087363c3 /llvm/test/CodeGen/SystemZ/fp-move-02.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/fp-move-02.ll')
-rw-r--r--llvm/test/CodeGen/SystemZ/fp-move-02.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/SystemZ/fp-move-02.ll b/llvm/test/CodeGen/SystemZ/fp-move-02.ll
index 6f9da9ab69d..505ee8d37a4 100644
--- a/llvm/test/CodeGen/SystemZ/fp-move-02.ll
+++ b/llvm/test/CodeGen/SystemZ/fp-move-02.ll
@@ -1,6 +1,7 @@
-; Test moves between FPRs and GPRs.
+; Test moves between FPRs and GPRs. The 32-bit cases test the z10
+; implementation, which has no high-word support.
;
-; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
+; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 | FileCheck %s
declare i64 @foo()
declare double @bar()
OpenPOWER on IntegriCloud