Files
clang-p2996/llvm/test/CodeGen/DirectX/log2_error.ll
Farzon Lotfi 5cf1e2e2ec [DXIL] Implement log intrinsic Lowering (#86569)
Completes #86192
`DXIL.td` - add log2 to dxilop lowering
`DXILIntrinsicExpansion.cpp` - add log and log10 to log2 expansions
2024-03-26 12:46:11 -04:00

11 lines
301 B
LLVM

; RUN: not opt -S -dxil-op-lower %s 2>&1 | FileCheck %s
; DXIL operation log2 does not support double overload type
; CHECK: LLVM ERROR: Invalid Overload Type
define noundef double @log2_double(double noundef %a) {
entry:
%elt.log2 = call double @llvm.log2.f64(double %a)
ret double %elt.log2
}