[clang] [llvm] [HLSL] Mark exported functions with "hlsl.export" attribute (PR #102275)
Helena Kotas via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 7 15:54:32 PDT 2024
================
@@ -0,0 +1,19 @@
+; RUN: opt -S -dxil-metadata-emit %s | FileCheck %s
+
+target triple = "dxilv1.3-unknown-shadermodel6.3-library"
+
+define void @"?f1@@YAXXZ"() #0 {
+entry:
+ ret void
+}
+
+define void @"?f2 at MyNamespace@@YAXXZ"() #0 {
+entry:
+ ret void
+}
+
----------------
hekota wrote:
The test was removed.
https://github.com/llvm/llvm-project/pull/102275
More information about the cfe-commits
mailing list