1 ; RUN: llvm-as < %s | opt -O3 | llvm-dis | FileCheck %s
2 ; Testing half constant propagation.
4 define half @abc() nounwind {
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