blob: 4c287e4c08a375fcf0c7cd0fdf898ff27b106fbb [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() {
7; CHECK: f1:
8; 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}