blob: 21a1b7f0d69997e6e751316da76c153c321411d3 [file] [log] [blame]
; RUN: llc < %s -mattr=-vsx -march=ppc32 | grep fctiwz | count 1
; RUN: llc < %s -mattr=+vsx -march=ppc32 | grep xscvdpsxws | count 1
define i16 @foo(float %a) {
entry:
%tmp.1 = fptoui float %a to i16 ; <i16> [#uses=1]
ret i16 %tmp.1
}