brintos

brintos / llvm-project-archived public Read only

0
0
Text · 966 B · 7868af3 Raw
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 x86_fp80 @nanl_empty() {9; CHECK-LABEL: define x86_fp80 @nanl_empty() {10; CHECK-NEXT:    ret x86_fp80 0xK7FFFC00000000000000011;12  %res = call x86_fp80 @nanl(ptr @empty)13  ret x86_fp80 %res14}15 16define x86_fp80 @nanl_dec() {17; CHECK-LABEL: define x86_fp80 @nanl_dec() {18; CHECK-NEXT:    ret x86_fp80 0xK7FFFC00000000000000119;20  %res = call x86_fp80 @nanl(ptr @dec)21  ret x86_fp80 %res22}23 24define x86_fp80 @nanl_hex() {25; CHECK-LABEL: define x86_fp80 @nanl_hex() {26; CHECK-NEXT:    ret x86_fp80 0xK7FFFC00000000000000F27;28  %res = call x86_fp80 @nanl(ptr @hex)29  ret x86_fp80 %res30}31 32declare x86_fp80 @nanl(ptr)33