Use getEdgeProbability() instead of getEdgeWeight() in BFI and remove getEdgeWeight...
[oota-llvm.git] / test / Assembler / half-constprop.ll
1 ; RUN: opt < %s -O3 -S | FileCheck %s
2 ; RUN: verify-uselistorder %s
3 ; Testing half constant propagation.
4
5 define half @abc() nounwind {
6 entry:
7   %a = alloca half, align 2
8   %b = alloca half, align 2
9   %.compoundliteral = alloca float, align 4
10   store half 0xH4200, half* %a, align 2
11   store half 0xH4B9A, half* %b, align 2
12   %tmp = load half, half* %a, align 2
13   %tmp1 = load half, half* %b, align 2
14   %add = fadd half %tmp, %tmp1
15 ; CHECK: 0xH4C8D
16   ret half %add
17 }
18