blob: 4160b203e36b304786a4206ca26ce4f3c6efadb8 [file] [log] [blame]
Chandler Carruth9e67db42012-04-16 13:49:17 +00001; RUN: llc < %s -enable-unsafe-fp-math -march=x86 | grep jp
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