33 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 52; RUN: opt < %s -passes=instcombine -S | FileCheck %s3 4@empty = private unnamed_addr constant [1 x i8] zeroinitializer, align 15@dec = private unnamed_addr constant [2 x i8] c"1\00", align 16@hex = private unnamed_addr constant [4 x i8] c"0xf\00", align 17 8define fp128 @nanl_empty() {9; CHECK-LABEL: define fp128 @nanl_empty() {10; CHECK-NEXT: ret fp128 0xL00000000000000007FFF80000000000011;12 %res = call fp128 @nanl(ptr @empty)13 ret fp128 %res14}15 16define fp128 @nanl_dec() {17; CHECK-LABEL: define fp128 @nanl_dec() {18; CHECK-NEXT: ret fp128 0xL00000000000000017FFF80000000000019;20 %res = call fp128 @nanl(ptr @dec)21 ret fp128 %res22}23 24define fp128 @nanl_hex() {25; CHECK-LABEL: define fp128 @nanl_hex() {26; CHECK-NEXT: ret fp128 0xL000000000000000F7FFF80000000000027;28 %res = call fp128 @nanl(ptr @hex)29 ret fp128 %res30}31 32declare fp128 @nanl(ptr)33