[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 11:46:43 PDT 2024


hekota wrote:

> Could this be an analysis pass which collect the list as a SmallVector<Function*> instead of creating the list in 'dx.exports' metadata?

You mean the DXILFinalizeLinkage pass (coming soon) that needs a list of entries and exported functions should get the information from "hlsl.shader" and "hlsl.export" attributes on the functions? Instead of relying on the metadata?

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


More information about the cfe-commits mailing list