blob: b2ae94db0b7e6583536717535da1e948b9e541f6 [file] [log] [blame]
Ulrich Weigand9e3577f2013-05-06 16:17:29 +00001; Test loads of 32-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
6define float @f1() {
Stephen Lind24ab202013-07-14 06:24:09 +00007; CHECK-LABEL: f1:
Ulrich Weigand9e3577f2013-05-06 16:17:29 +00008; CHECK: larl [[REGISTER:%r[1-5]]], {{.*}}
9; CHECK: le %f0, 0([[REGISTER]])
10; CHECK: br %r14
11;
12; CONST: .long 1065353217
13 ret float 0x3ff0000020000000
14}