summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/fp_to_uint.ll
blob: 637294d0f242947b1b082adf5c995844ccf221c4 (plain)
1
2
3
4
5
6
7
8
9
; 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
}