1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/CodeGen/X86/bitcast-int-to-vector.ll
2009-09-08 23:54:48 +00:00

11 lines
221 B
LLVM

; RUN: llc < %s -march=x86
define i1 @foo(i64 %a)
{
%t = bitcast i64 %a to <2 x float>
%r = extractelement <2 x float> %t, i32 0
%s = extractelement <2 x float> %t, i32 1
%b = fcmp uno float %r, %s
ret i1 %b
}