1 ; RUN: llvm-as < %s | opt -O3 | llvm-dis | FileCheck %s 2 ; Testing half constant propagation. 3 4 define half @abc() nounwind { 5 entry: 6 %a = alloca half, align 2 7 %b = alloca half, align 2 8 %.compoundliteral = alloca float, align 4 9 store half 0xH4200, half* %a, align 2 10 store half 0xH4B9A, half* %b, align 2 11 %tmp = load half* %a, align 2 12 %tmp1 = load half* %b, align 2 13 %add = fadd half %tmp, %tmp1 14 ; CHECK: 0xH4C8D 15 ret half %add 16 } 17 18