1*76be3a00SJustin Bogner; RUN: not opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.0-library %s 2>&1 | FileCheck %s 2*76be3a00SJustin Bogner; The sin intrinsic needs to be scalarized before op lowering 3*76be3a00SJustin Bogner 4*76be3a00SJustin Bogner; CHECK: error: 5*76be3a00SJustin Bogner; CHECK-SAME: in function sin_vector 6*76be3a00SJustin Bogner; CHECK-SAME: Cannot create Sin operation: Invalid overload type 7*76be3a00SJustin Bogner 8*76be3a00SJustin Bognerdefine <4 x float> @sin_vector(<4 x float> %a) { 9*76be3a00SJustin Bogner %x = call <4 x float> @llvm.sin.v4f32(<4 x float> %a) 10*76be3a00SJustin Bogner ret <4 x float> %x 11*76be3a00SJustin Bogner} 12