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 ceil does not support double overload type4; CHECK: in function ceil_double5; CHECK-SAME: Cannot create Ceil operation: Invalid overload type6 7define noundef double @ceil_double(double noundef %a) {8entry:9 %elt.ceil = call double @llvm.ceil.f64(double %a)10 ret double %elt.ceil11}12