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

Tree @release_25 (Download .tar.gz)

fp_to_uint.ll @release_25raw · history · blame

1
2
3
4
5
6
7
; RUN: llvm-as < %s | llc -march=ppc32 | grep fctiwz | count 1

define i16 @foo(float %a) {
entry:
        %tmp.1 = fptoui float %a to i16         ; <i16> [#uses=1]
        ret i16 %tmp.1
}