Skip to content

Commit

Permalink
Mark -embed-downstream-ir as experimental (#5517)
Browse files Browse the repository at this point in the history
This slangc option internally uses an experimental Slang API
interface. The feature is only at prototype-level completion,
currently.

Fixes #5434
  • Loading branch information
cheneym2 authored Nov 7, 2024
1 parent 9ff6dd4 commit 462584d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/slang/slang-options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 462584d

Please sign in to comment.