[llvm-branch-commits] [DirectX] Register a few DXIL passes with the new PM (PR #104250)
Xiang Li via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Aug 14 14:35:20 PDT 2024
================
@@ -23,7 +23,10 @@ MODULE_ANALYSIS("dxil-resource-md", DXILResourceMDAnalysis())
#ifndef MODULE_PASS
#define MODULE_PASS(NAME, CREATE_PASS)
#endif
+MODULE_PASS("dxil-intrinsic-expansion", DXILIntrinsicExpansion())
+MODULE_PASS("dxil-op-lower", DXILOpLowering())
+MODULE_PASS("dxil-pretty-printer", DXILPrettyPrinterPass(dbgs()))
+MODULE_PASS("dxil-translate-metadata", DXILTranslateMetadata())
// TODO: rename to print<foo> after NPM switch
MODULE_PASS("print-dx-shader-flags", dxil::ShaderFlagsAnalysisPrinter(dbgs()))
-MODULE_PASS("print-dxil-resource-md", DXILResourceMDPrinterPass(dbgs()))
----------------
python3kgae wrote:
Should we remove DXILResourceMDPrinterPass in lib\Target\DirectX\DXILResourceAnalysis.cpp ?
https://github.com/llvm/llvm-project/pull/104250
More information about the llvm-branch-commits
mailing list