Dan Gohman | 0a06310 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86 -mcpu=yonah | not grep pxor |
Gabor Greif | f30f4e9 | 2008-05-20 19:52:04 +0000 | [diff] [blame] | 2 | |
3 | ; This should not need to materialize 0.0 to evaluate the condition. | ||||
4 | |||||
5 | define i32 @test(double %X) nounwind { | ||||
6 | entry: | ||||
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 |