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

implementation

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