summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/bitcast-int-to-vector.ll
blob: 68f4033952aa3bdd488bba7226479d74078ce23f (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc < %s -mtriple=i686--

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
}
OpenPOWER on IntegriCloud