brintos

brintos / llvm-project-archived public Read only

0
0
Text · 438 B · 940fe8c Raw
14 lines · plain
1; RUN: llc < %s -mtriple=i686-- -mattr=-sse | FileCheck %s -check-prefix=WITHNANS2; RUN: llc < %s -mtriple=i686-- -mattr=-sse -enable-no-nans-fp-math | FileCheck %s -check-prefix=NONANS3 4; WITHNANS-LABEL: test:5; WITHNANS: setnp6; NONANS-LABEL: test:7; NONANS-NOT: setnp8define 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.112}13 14