brintos

brintos / llvm-project-archived public Read only

0
0
Text · 390 B · 6e35134 Raw
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 cos does not support double overload type4; CHECK: in function cos_double5; CHECK-SAME: Cannot create Cos operation: Invalid overload type6 7define noundef double @cos_double(double noundef %a) {8entry:9  %elt.cos = call double @llvm.cos.f64(double %a)10  ret double %elt.cos11}12