blob: 847c380e3b982c5d0ef395e776d31c44a7810093 [file] [log] [blame]
Ulrich Weigand9e3577f2013-05-06 16:17:29 +00001; Test loads of 64-bit floating-point constants that can be represented
2; as 32-bit constants.
3;
4; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
5; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CONST
6
7define double @f1() {
8; CHECK: f1:
9; CHECK: larl [[REGISTER:%r[1-5]]], {{.*}}
10; CHECK: ldeb %f0, 0([[REGISTER]])
11; CHECK: br %r14
12;
13; CONST: .long 1065353217
14 ret double 0x3ff0000020000000
15}