[clang] [llvm] [HLSL] Implementation of the frac intrinsic (PR #83315)

Xiang Li via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 28 11:05:33 PST 2024


================
@@ -0,0 +1,27 @@
+
+// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm -disable-llvm-passes -verify -verify-ignore-unexpected
+
----------------
python3kgae wrote:

What will happen for 
```
struct A { float a; }; 
A fa;
__builtin_hlsl_elementwise_frac (fa)
```

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


More information about the cfe-commits mailing list