xref: /llvm-project/llvm/test/CodeGen/DirectX/firstbitlow_error.ll (revision 4f48abff0fb90ea0a05470755b799cdb1ff79d89)
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 @firstbitlow_double(double noundef %a) {
7entry:
8  %1 = call double @llvm.dx.firstbitlow.f64(double %a)
9  ret double %1
10}
11