[clang] [llvm] [HLSL] Implement elementwise popcount (PR #108121)
Farzon Lotfi via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 12 15:04:29 PDT 2024
================
@@ -0,0 +1,80 @@
+// RUN: %clang_cc1 -std=hlsl2021 -finclude-default-header -x hlsl -triple \
+// RUN: dxil-pc-shadermodel6.3-library %s -fnative-half-type \
+// RUN: -emit-llvm -disable-llvm-passes -O3 -o - | FileCheck %s
+
+#ifdef __HLSL_ENABLE_16_BIT
+// CHECK: define noundef i16 @
----------------
farzonl wrote:
i dunno if the `// CHECK: define` add any value stopping at the `@`. I think before we were using them to check the function name, but that can be better done with a `CHECK-LABEL`.
https://github.com/llvm/llvm-project/pull/108121
More information about the cfe-commits
mailing list