llvm.org GIT mirror llvm / d571205 test / CodeGen / X86 / bitcast-int-to-vector.ll
d571205

Tree @d571205 (Download .tar.gz)

bitcast-int-to-vector.ll @d571205raw · history · blame

; 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
}