blob: d7b5f25de6c9af9381e74dea99f321c5532ad945 [file] [log] [blame]
Chris Lattner196b9ce2008-05-02 15:11:58 +00001; RUN: llvm-as < %s | llc -enable-unsafe-fp-math -march=x86 | grep jnp
Chris Lattner98deeca2008-05-01 07:26:11 +00002; rdar://5902801
3
4declare void @test2()
5
6define i32 @test(double %p) nounwind {
7 %tmp5 = fcmp uno double %p, 0.000000e+00
8 br i1 %tmp5, label %bb, label %UnifiedReturnBlock
9bb:
10 call void @test2()
11 ret i32 17
12UnifiedReturnBlock:
13 ret i32 42
14}
15