16 lines · plain
1; RUN: not opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-compute %s 2>&1 | FileCheck %s2 3; CHECK: in function f4; CHECK-SAME: Cannot create Dot2AddHalf operation: No valid overloads for DXIL version 1.35 6define noundef float @f(<2 x half> noundef %a, <2 x half> noundef %b, float %acc) {7entry:8 %ax = extractelement <2 x half> %a, i32 09 %ay = extractelement <2 x half> %a, i32 110 %bx = extractelement <2 x half> %b, i32 011 %by = extractelement <2 x half> %b, i32 112 13 %ret = call float @llvm.dx.dot2add(float %acc, half %ax, half %ay, half %bx, half %by)14 ret float %ret15}16