]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/X86/2008-05-01-InvalidOrdCompare.ll
Vendor import of llvm trunk r291274:
[FreeBSD/FreeBSD.git] / test / CodeGen / X86 / 2008-05-01-InvalidOrdCompare.ll
1 ; RUN: llc < %s -enable-unsafe-fp-math -march=x86 | grep jp
2 ; rdar://5902801
3
4 declare void @test2()
5
6 define i32 @test(double %p) nounwind {
7         %tmp5 = fcmp uno double %p, 0.000000e+00
8         br i1 %tmp5, label %bb, label %UnifiedReturnBlock
9 bb:
10         call void @test2()
11         ret i32 17
12 UnifiedReturnBlock:
13         ret i32 42
14 }
15