xref: /llvm-project/llvm/test/CodeGen/PowerPC/fp_to_uint.ll (revision e2d2ce9ff1fabe751d3990af4bfa82cbf4998d41)
1; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- | grep fctiwz | count 1
2
3
4define i16 @foo(float %a) {
5entry:
6        %tmp.1 = fptoui float %a to i16         ; <i16> [#uses=1]
7        ret i16 %tmp.1
8}
9
10