[clang] [HLSL] Implement the `ldexp` intrinsic (PR #138182)

Sarah Spall via cfe-commits cfe-commits at lists.llvm.org
Thu May 1 17:40:20 PDT 2025


================
@@ -0,0 +1,49 @@
+// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple dxil-pc-shadermodel6.3-library %s -fnative-half-type -emit-llvm -disable-llvm-passes -o - | FileCheck %s
----------------
spall wrote:

A lot of the builtins that support half and float have tests with native half and without native half.
See: https://github.com/llvm/llvm-project/blob/main/clang/test/CodeGenHLSL/builtins/cos.hlsl
Should we do that here? 

https://github.com/llvm/llvm-project/pull/138182


More information about the cfe-commits mailing list