Fix a latent bug exposed by my truncstore patch. We compiled stfiwx-2.ll to:
[oota-llvm.git] / test / CodeGen / PowerPC / fp_to_uint.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep fctiwz | count 1
2
3 implementation
4
5 ushort %foo(float %a) {
6 entry:
7         %tmp.1 = cast float %a to ushort
8         ret ushort %tmp.1
9 }