brintos

brintos / llvm-project-archived public Read only

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