llvm.org GIT mirror llvm / release_16 test / CodeGen / PowerPC / fp_to_uint.ll
release_16

Tree @release_16 (Download .tar.gz)

fp_to_uint.ll @release_16raw · history · blame

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
}