10 lines · plain
1; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- | grep fctiwz | count 12 3 4define i16 @foo(float %a) {5entry:6 %tmp.1 = fptoui float %a to i16 ; <i16> [#uses=1]7 ret i16 %tmp.18}9 10 1; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- | grep fctiwz | count 12 3 4define i16 @foo(float %a) {5entry:6 %tmp.1 = fptoui float %a to i16 ; <i16> [#uses=1]7 ret i16 %tmp.18}9 10