mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 17:37:24 +00:00
090b38a0da
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43470 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
231 B
LLVM
11 lines
231 B
LLVM
; RUN: llvm-as < %s | llc -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
|
|
}
|