mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-14 13:07:31 +00:00
722243bd40
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51328 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
312 B
LLVM
12 lines
312 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | not grep pxor
|
|
|
|
; This should not need to materialize 0.0 to evaluate the condition.
|
|
|
|
define i32 @test(double %X) nounwind {
|
|
entry:
|
|
%tmp6 = fcmp uno double %X, 0.000000e+00 ; <i1> [#uses=1]
|
|
%tmp67 = zext i1 %tmp6 to i32 ; <i32> [#uses=1]
|
|
ret i32 %tmp67
|
|
}
|
|
|