12 lines · plain
1; RUN: not opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s 2>&1 | FileCheck %s2 3; DXIL operation sqrt does not support double overload type4; CHECK: in function sqrt_double5; CHECK-SAME: Cannot create Sqrt operation: Invalid overload type6 7define noundef double @sqrt_double(double noundef %a) {8entry:9 %elt.sqrt = call double @llvm.sqrt.f64(double %a)10 ret double %elt.sqrt11}12