blob: 18fe29a883e0b20d100deda1f5c7c882934d0bea [file] [log] [blame]
Chris Lattner42184432007-12-29 08:37:08 +00001; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | not grep pxor
2
3; This should not need to materialize 0.0 to evaluate the condition.
4
5define i32 @test(double %X) nounwind {
6entry:
7 %tmp6 = fcmp uno double %X, 0.000000e+00 ; <i1> [#uses=1]
8 %tmp67 = zext i1 %tmp6 to i32 ; <i32> [#uses=1]
9 ret i32 %tmp67
10}
11