blob: a708224dd0d99d7e758b549306c7b2d6279b531f [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -enable-unsafe-fp-math -march=x86 | grep jnp
Chris Lattner6bf30ab2008-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