[clang] Adding `asuint` implementation to hlsl (PR #107292)
Justin Bogner via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 6 12:07:22 PDT 2024
================
@@ -0,0 +1,26 @@
+// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple dxil-pc-shadermodel6.3-library %s -fnative-half-type -emit-llvm -disable-llvm-passes -o - | FileCheck %s
----------------
bogner wrote:
It's probably better if we remove the `-disable-llvm-passes` and add `-O1` to the command for this test. This will mean that we run SROA and avoid a bunch of stack operations that get in the way of seeing what the tests are actually doing.
https://github.com/llvm/llvm-project/pull/107292
More information about the cfe-commits
mailing list