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 cosh does not support double overload type4; CHECK: in function cosh_double5; CHECK-SAME: Cannot create HCos operation: Invalid overload type6 7define noundef double @cosh_double(double noundef %a) {8entry:9 %1 = call double @llvm.cosh.f64(double %a)10 ret double %111}12