summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorJonas Paulsson <jonas.paulsson@ericsson.com>2015-10-08 07:40:16 +0000
committerJonas Paulsson <jonas.paulsson@ericsson.com>2015-10-08 07:40:16 +0000
commit7c5ce10a072ff4a93557198692463da955259f31 (patch)
tree2080fe98bda1d29c7595575b721ae5445ca14631 /llvm/test
parent2c96dd64fc99da1dd4fe712df2b75f15ab07db18 (diff)
downloadbcm5719-llvm-7c5ce10a072ff4a93557198692463da955259f31.tar.gz
bcm5719-llvm-7c5ce10a072ff4a93557198692463da955259f31.zip
[SystemZ] Use load-and-test for fp compare with 0 if vector support is present.
Since the LTxBRCompare instructions can't be used with vector registers, a normal load-and-test instruction (with a modelled def operand) is used instead. Reviewed by Ulrich Weigand. llvm-svn: 249664
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/SystemZ/fp-cmp-02.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/SystemZ/fp-cmp-02.ll b/llvm/test/CodeGen/SystemZ/fp-cmp-02.ll
index 94a256777c7..acb54f10cfd 100644
--- a/llvm/test/CodeGen/SystemZ/fp-cmp-02.ll
+++ b/llvm/test/CodeGen/SystemZ/fp-cmp-02.ll
@@ -164,8 +164,7 @@ define i64 @f8(i64 %a, i64 %b, double %f) {
; CHECK-SCALAR: ltdbr %f0, %f0
; CHECK-SCALAR-NEXT: je
; CHECK-SCALAR: lgr %r2, %r3
-; CHECK-VECTOR: lzdr %f1
-; CHECK-VECTOR-NEXT: cdbr %f0, %f1
+; CHECK-VECTOR: ltdbr %f0, %f0
; CHECK-VECTOR-NEXT: locgrne %r2, %r3
; CHECK: br %r14
%cond = fcmp oeq double %f, 0.0
OpenPOWER on IntegriCloud