python3kgae 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?
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. https://github.com/llvm/llvm-project/pull/102275 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits