aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/fp_to_uint.ll
blob: 44d6e9092b31cb805e48efc7e80189a76a4199f9 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | llc -march=ppc32 | grep fctiwz | wc -l | grep 1

implementation

ushort %foo(float %a) {
entry:
        %tmp.1 = cast float %a to ushort
        ret ushort %tmp.1
}