Make utils/update_llc_test_checks.py note that the assertions are
[oota-llvm.git] / test / CodeGen / X86 / 2011-20-21-zext-ui2fp.ll
1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 | FileCheck %s
3
4 ; Check that the booleans are converted using zext and not via sext.
5 ; 0x1 means that we only look at the first bit.
6
7 define void @ui_to_fp_conv(<8 x float> * nocapture %aFOO, <8 x float>* nocapture %RET) nounwind {
8 ; CHECK-LABEL: ui_to_fp_conv:
9 ; CHECK:       # BB#0: # %allocas
10 ; CHECK-NEXT:    movaps {{.*#+}} xmm0 = [1.000000e+00,1.000000e+00,0.000000e+00,0.000000e+00]
11 ; CHECK-NEXT:    xorps %xmm1, %xmm1
12 ; CHECK-NEXT:    movups %xmm1, 16(%rsi)
13 ; CHECK-NEXT:    movups %xmm0, (%rsi)
14 ; CHECK-NEXT:    retq
15 allocas:
16   %bincmp = fcmp olt <8 x float> <float 1.000000e+00, float 1.000000e+00, float 3.000000e+00, float 3.000000e+00, float 3.000000e+00, float 3.000000e+00, float 3.000000e+00, float 3.000000e+00> , <float 3.000000e+00, float 3.000000e+00, float 3.000000e+00, float 3.000000e+00, float 3.000000e+00, float 3.000000e+00, float 3.000000e+00, float 3.000000e+00>
17   %bool2float = uitofp <8 x i1> %bincmp to <8 x float>
18   store <8 x float> %bool2float, <8 x float>* %RET, align 4
19   ret void
20 }
21
22
23