summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcheneym2 <acheney@nvidia.com>2024-11-07 18:15:21 -0500
committerGitHub <noreply@github.com>2024-11-07 15:15:21 -0800
commit462584dcf377936314bf76b22f5c6e3e13fc3995 (patch)
tree128e66e50c394b4549270a5ff2ac2c18218caaff
parent9ff6dd4eb786898d439cfd87f63bc2795f772f44 (diff)
Mark -embed-downstream-ir as experimental (#5517)
This slangc option internally uses an experimental Slang API interface. The feature is only at prototype-level completion, currently. Fixes #5434
-rw-r--r--source/slang/slang-options.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp
index a4e7fb83c..9353acd35 100644
--- a/source/slang/slang-options.cpp
+++ b/source/slang/slang-options.cpp
@@ -667,10 +667,6 @@ void initCommandOptions(CommandOptions& options)
"-incomplete-library",
nullptr,
"Allow generating code from incomplete libraries with unresolved external functions"},
- {OptionKind::EmbedDownstreamIR,
- "-embed-downstream-ir",
- nullptr,
- "Embed downstream IR into emitted slang IR"},
};
_addOptions(makeConstArrayView(targetOpts), options);
@@ -845,6 +841,10 @@ void initCommandOptions(CommandOptions& options)
"-enable-experimental-passes",
nullptr,
"Enable experimental compiler passes"},
+ {OptionKind::EmbedDownstreamIR,
+ "-embed-downstream-ir",
+ nullptr,
+ "Embed downstream IR into emitted slang IR"},
};
_addOptions(makeConstArrayView(experimentalOpts), options);