1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-01-08 03:30:22 +00:00
llvm-6502/test/CodeGen/PowerPC/fp_to_uint.ll
2009-09-09 00:09:15 +00:00

9 lines
181 B
LLVM

; RUN: llc < %s -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
}