[clang] [llvm] [HLSL][SPIRV] Added clamp intrinsic (PR #113394)
Adam Yang via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 24 16:40:35 PDT 2024
================
@@ -1,133 +1,143 @@
// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.3-library %s \
// RUN: -fnative-half-type -emit-llvm -disable-llvm-passes -o - | \
-// RUN: FileCheck %s --check-prefixes=CHECK,NATIVE_HALF
+// RUN: FileCheck %s --check-prefixes=CHECK,NATIVE_HALF \
+// RUN: -DSCLAMP="dx.clamp" -DUCLAMP="dx.uclamp" -DFCLAMP="dx.clamp" -DFNATTR="noundef"
----------------
adam-yang wrote:
Fixed.
https://github.com/llvm/llvm-project/pull/113394
More information about the cfe-commits
mailing list