]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/SystemZ/fp-const-06.ll
Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release):
[FreeBSD/FreeBSD.git] / test / CodeGen / SystemZ / fp-const-06.ll
1 ; Test loads of 64-bit floating-point constants.
2 ;
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
4 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CONST
5
6 define double @f1() {
7 ; CHECK-LABEL: f1:
8 ; CHECK: larl [[REGISTER:%r[1-5]+]], {{.*}}
9 ; CHECK: ld %f0, 0([[REGISTER]])
10 ; CHECK: br %r14
11 ;
12 ; CONST: .quad 4607182419068452864
13   ret double 0x3ff0000010000000
14 }