[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / CodeGen / AArch64 / win_cst_pool.ll
blobc30ca4e6687faaf6d2e7c4eecece21b3b486e4f4
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
12 ; CHECK:      double:
13 ; CHECK:               adrp    x8, __real@2000000000800001
14 ; CHECK-NEXT:          ldr     d0, [x8, __real@2000000000800001]
15 ; CHECK-NEXT:          ret
17 ; MINGW:              .section        .rdata,"dr"
18 ; MINGW-NEXT:         .p2align  3
19 ; MINGW-NEXT: [[LABEL:\.LC.*]]:
20 ; MINGW-NEXT:         .xword   2305843009222082561
21 ; MINGW:      double:
22 ; MINGW:               adrp    x8, [[LABEL]]
23 ; MINGW-NEXT:          ldr     d0, [x8, [[LABEL]]]
24 ; MINGW-NEXT:          ret