64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
10 lines
220 B
LLVM
10 lines
220 B
LLVM
; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=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
|
|
}
|
|
|