xref: /llvm-project/llvm/test/CodeGen/DirectX/firstbitshigh_error.ll (revision fb90733e196039b0a77f43af98c42c9267a31e07)
1; RUN: not opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s 2>&1 | FileCheck %s
2
3; DXIL operation firstbitshigh does not support double overload type
4; CHECK: invalid intrinsic signature
5
6define noundef double @firstbitshigh_double(double noundef %a) {
7entry:
8  %1 = call double @llvm.dx.firstbitshigh.f64(double %a)
9  ret double %1
10}
11