1 ; RUN: llc < %s -mtriple=aarch64-win32-msvc | FileCheck %s
2 ; RUN: llc < %s -mtriple=aarch64-win32-gnu | FileCheck -check-prefix=MINGW %s
4 define double @double() {
5 ret double 0x2000000000800001
7 ; CHECK: .globl __real@2000000000800001
8 ; CHECK-NEXT: .section .rdata,"dr",discard,__real@2000000000800001
9 ; CHECK-NEXT: .p2align 3
10 ; CHECK-NEXT: __real@2000000000800001:
11 ; CHECK-NEXT: .xword 2305843009222082561
13 ; CHECK: adrp x8, __real@2000000000800001
14 ; CHECK-NEXT: ldr d0, [x8, __real@2000000000800001]
17 ; MINGW: .section .rdata,"dr"
18 ; MINGW-NEXT: .p2align 3
19 ; MINGW-NEXT: [[LABEL:\.LC.*]]:
20 ; MINGW-NEXT: .xword 2305843009222082561
22 ; MINGW: adrp x8, [[LABEL]]
23 ; MINGW-NEXT: ldr d0, [x8, [[LABEL]]]