================
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -finclude-default-header -triple 
dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only 
-disable-llvm-passes -verify -DTEST_FUNC=__builtin_elementwise_atan2
+// RUN: %clang_cc1 -finclude-default-header -triple 
dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only 
-disable-llvm-passes -verify -DTEST_FUNC=__builtin_elementwise_pow
+
----------------
farzonl wrote:

add 
```suggestion
// RUN: %clang_cc1 -finclude-default-header -triple 
dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only 
-disable-llvm-passes -verify -DTEST_FUNC=__builtin_elementwise_fmod
```
delete the  
https://github.com/llvm/llvm-project/blob/main/clang/test/SemaHLSL/BuiltIns/fmod-errors.hlsl
 file

https://github.com/llvm/llvm-project/pull/110187
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to