• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test loads of SNaN.
2;
3; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
4
5; Test that we don't do an FP extending load, as this would result in a
6; converstion to QNaN.
7define double @f1() {
8; CHECK-LABEL: .LCPI0_0
9; CHECK:      .quad   0x7ff4000000000000
10; CHECK-LABEL: f1:
11; CHECK:      larl    %r1, .LCPI0_0
12; CHECK-NOT:  ldeb    %f0, 0(%r1)
13; CHECK:      ld      %f0, 0(%r1)
14  ret double 0x7FF4000000000000
15}
16