[clang] [HLSL] add extra scalar vector overloads for clamp (PR #129939)
Farzon Lotfi via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 17 07:37:58 PDT 2025
================
@@ -0,0 +1,7 @@
+// RUN: not %clang_dxc -enable-16bit-types -T cs_6_0 -HV 202x %s 2>&1 | FileCheck %s
----------------
farzonl wrote:
rename to `clang/test/SemaHLSL/BuiltIns/clamp-errors-16bit.hlsl`
```suggestion
// RUN: not %clang_dxc -enable-16bit-types -T cs_6_0 -HV 202x %s 2>&1 | FileCheck %s -DTEST_TYPE= half
// RUN: not %clang_dxc -enable-16bit-types -T cs_6_0 -HV 202x %s 2>&1 | FileCheck %s -DTEST_TYPE= int16_t
// RUN: not %clang_dxc -enable-16bit-types -T cs_6_0 -HV 202x %s 2>&1 | FileCheck %s -DTEST_TYPE= uint16_t
```
https://github.com/llvm/llvm-project/pull/129939
More information about the cfe-commits
mailing list