1 ; RUN: not opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s 2>&1 | FileCheck %s
3 ; DXIL operation cosh does not support double overload type
4 ; CHECK: in function cosh_double
5 ; CHECK-SAME: Cannot create HCos operation: Invalid overload type
7 define noundef double @cosh_double(double noundef %a) {
9 %1 = call double @llvm.cosh.f64(double %a)