mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-07 20:40:28 +00:00
16 lines
304 B
LLVM
16 lines
304 B
LLVM
|
; RUN: llvm-as < %s | llc -enable-unsafe-fp-math | 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
|
||
|
}
|
||
|
|