[clang] Adding `asuint` implementation to hlsl (PR #107292)

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 13 12:11:04 PDT 2024


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

The `-emit-llvm-only` and `-disable-llvm-passes` flags don't really do anything when combined with verify. We don't need them.
```suggestion
// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -verify
```

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


More information about the cfe-commits mailing list