brintos

brintos / llvm-project-archived public Read only

0
0
Text · 658 B · 1e2396e Raw
21 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py2; RUN: opt < %s -passes=instcombine -S | FileCheck %s3target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"4target triple = "i686-apple-darwin9"5 6define i80 @from() {7; CHECK-LABEL: @from(8; CHECK-NEXT:    ret i80 3022452899617125758402569;10  %tmp = bitcast x86_fp80 0xK4000C000000000000000 to i8011  ret i80 %tmp12}13 14define x86_fp80 @to() {15; CHECK-LABEL: @to(16; CHECK-NEXT:    ret x86_fp80 0xK4001800000000000000017;18  %tmp = bitcast i80 302259125019767858003968 to x86_fp8019  ret x86_fp80 %tmp20}21