1; RUN: llc < %s -march=x86 -mattr=-sse | FileCheck %s -check-prefix=WITHNANS 2; RUN: llc < %s -march=x86 -mattr=-sse -enable-unsafe-fp-math -enable-no-nans-fp-math | FileCheck %s -check-prefix=NONANS 3 4; WITHNANS-LABEL: test: 5; WITHNANS: setnp 6; NONANS-LABEL: test: 7; NONANS-NOT: setnp 8define i32 @test(float %f) { 9 %tmp = fcmp oeq float %f, 0.000000e+00 ; <i1> [#uses=1] 10 %tmp.upgrd.1 = zext i1 %tmp to i32 ; <i32> [#uses=1] 11 ret i32 %tmp.upgrd.1 12} 13 14