16 lines · plain
1; Test loads of 64-bit floating-point constants that could be represented2; as 32-bit constants, but should not be.3;4; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s5; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CONST6 7define double @f1() {8; CHECK-LABEL: f1:9; CHECK: larl [[REGISTER:%r[1-5]]], {{.*}}10; CHECK: ld %f0, 0([[REGISTER]])11; CHECK: br %r1412;13; CONST: .quad 0x3ff0000020000000 # double 1.000000119209289614 ret double 0x3ff000002000000015}16