[clang] [llvm] [HLSL] Add list of exported functions as named metadata node `dx.exports` (PR #102275)

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 7 13:34:21 PDT 2024


hekota wrote:

> I mean DXILFinalizeLinkage pass could use an analysis pass to get the list of export functions. The collecting of the list happens in the analysis pass. No need to create a named metadata and remove it later.

Sounds good. It will probably be easier for the DXILFinalizeLinkage to collect the list of entry and export functions when it runs without creating a separate analysis pass for it since it is the only one that needs it.


https://github.com/llvm/llvm-project/pull/102275


More information about the cfe-commits mailing list