Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / X86 / 2006-05-22-FPSetEQ.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 &&
2 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep 'setnp'
3 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -enable-unsafe-fp-math | not grep 'setnp'
4
5 uint %test(float %f) {
6         %tmp = seteq float %f, 0.000000e+00
7         %tmp = cast bool %tmp to uint
8         ret uint %tmp
9 }