You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
; CHECK-NEXT: [[X_INSERT:%.*]] = insertelement <vscale x 4 x float> poison, float [[X]], i32 0
143
+
; CHECK-NEXT: [[Y_INSERT:%.*]] = insertelement <vscale x 4 x float> poison, float [[Y]], i32 0
144
+
; CHECK-NEXT: [[Z_INSERT:%.*]] = insertelement <vscale x 4 x float> poison, float [[Z]], i32 0
145
+
; CHECK-NEXT: [[V:%.*]] = call <vscale x 4 x float> @llvm.fma.nxv4f32(<vscale x 4 x float> [[X_INSERT]], <vscale x 4 x float> [[Y_INSERT]], <vscale x 4 x float> [[Z_INSERT]])
146
+
; CHECK-NEXT: ret <vscale x 4 x float> [[V]]
147
+
;
148
+
%x.insert = insertelement <vscale x 4 x float> poison, float%x, i320
149
+
%y.insert = insertelement <vscale x 4 x float> poison, float%y, i320
150
+
%z.insert = insertelement <vscale x 4 x float> poison, float%z, i320
151
+
%v = call <vscale x 4 x float> @llvm.fma(<vscale x 4 x float> %x.insert, <vscale x 4 x float> %y.insert, <vscale x 4 x float> %z.insert)
152
+
ret <vscale x 4 x float> %v
153
+
}
154
+
99
155
; TODO: We should be able to scalarize this if we preserve the scalar argument.
100
156
define <4 x float> @scalar_argument(float%x) {
101
157
; CHECK-LABEL: define <4 x float> @scalar_argument(
0 commit comments