Files
clang-p2996/llvm/test/CodeGen/DirectX/ceil_error.ll
Helena Kotas b42fa8645c [DXIL] Add lowering for ceil (#87043)
Add lowering of llvm.ceil intrinsics to DXIL ops.

Fixes #86984
2024-03-29 15:09:44 -04:00

11 lines
301 B
LLVM

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