[X86] Update test/CodeGen/X86/avg.ll with the help of update_llc_test_checks.py....
[oota-llvm.git] / test / CodeGen / X86 / dont-trunc-store-double-to-float.ll
1 ; RUN: llc -march=x86 < %s | FileCheck %s
2
3 ; CHECK-LABEL: @bar
4 ; CHECK: movl $1074339512,
5 ; CHECK: movl $1374389535,
6 ; CHECK: movl $1078523331,
7 define void @bar() unnamed_addr {
8 entry-block:
9   %a = alloca double
10   %b = alloca float
11
12   store double 3.140000e+00, double* %a
13   %0 = load double, double* %a
14
15   %1 = fptrunc double %0 to float
16
17   store float %1, float* %b
18
19   ret void
20 }