mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
36a0947820
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
305 B
LLVM
16 lines
305 B
LLVM
; RUN: llc < %s -enable-unsafe-fp-math -march=x86 | grep jnp
|
|
; rdar://5902801
|
|
|
|
declare void @test2()
|
|
|
|
define i32 @test(double %p) nounwind {
|
|
%tmp5 = fcmp uno double %p, 0.000000e+00
|
|
br i1 %tmp5, label %bb, label %UnifiedReturnBlock
|
|
bb:
|
|
call void @test2()
|
|
ret i32 17
|
|
UnifiedReturnBlock:
|
|
ret i32 42
|
|
}
|
|
|