mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
230c714773
llvm-svn: 47325
9 lines
191 B
LLVM
9 lines
191 B
LLVM
; 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
|
|
}
|
|
|