aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/DirectX/firstbitlow_error.ll
blob: d8b9333067f4ac49332803be0b5f502eea6e0e08 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: not opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s 2>&1 | FileCheck %s

; DXIL operation firstbitshigh does not support double overload type
; CHECK: invalid intrinsic signature

define noundef double @firstbitlow_double(double noundef %a) {
entry:
  %1 = call double @llvm.dx.firstbitlow.f64(double %a)
  ret double %1
}