]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/CodeGen/X86/bitcast-int-to-vector.ll
[X86][AVX] Added (V)MOVDDUP / (V)MOVSLDUP / (V)MOVSHDUP memory folding + tests.
[opencl/llvm.git] / test / CodeGen / X86 / bitcast-int-to-vector.ll
1 ; RUN: llc < %s -march=x86
3 define i1 @foo(i64 %a)
4 {
5   %t = bitcast i64 %a to <2 x float>
6   %r = extractelement <2 x float> %t, i32 0
7   %s = extractelement <2 x float> %t, i32 1
8   %b = fcmp uno float %r, %s
9   ret i1 %b
10 }