brintos

brintos / llvm-project-archived public Read only

0
0
Text · 404 B · 7b4646f 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 floor does not support double overload type4; CHECK: in function floor_double5; CHECK-SAME: Cannot create Floor operation: Invalid overload type6 7define noundef double @floor_double(double noundef %a) {8entry:9  %elt.floor = call double @llvm.floor.f64(double %a)10  ret double %elt.floor11}12