blob: dae3b83b1af6aab20cbdc67c537b99513d3d449d [file] [log] [blame]
Chris Lattner6bf30ab2008-05-01 07:26:11 +00001; RUN: llvm-as < %s | llc -enable-unsafe-fp-math | grep jnp
2; 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