brintos

brintos / llvm-project-archived public Read only

0
0
Text · 372 B · 219c5b0 Raw
15 lines · plain
1; RUN: opt < %s -O3 -S | FileCheck %s2; RUN: verify-uselistorder %s3; Testing half to float conversion.4 5define float @abc() nounwind {6entry:7  %a = alloca half, align 28  %.compoundliteral = alloca float, align 49  store half 0xH4C8D, ptr %a, align 210  %tmp = load half, ptr %a, align 211  %conv = fpext half %tmp to float12; CHECK: 0x403234000000000013  ret float %conv14}15