[llvm-branch-commits] [DirectX] Port DXContainerGlobals to NewPM (PR #238167)

Justin Bogner via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 3 15:51:10 PST 2026


================
@@ -24,6 +24,7 @@ MODULE_ANALYSIS("dxil-signature-analysis", dxil::SignatureAnalysis())
 #ifndef MODULE_PASS
 #define MODULE_PASS(NAME, CREATE_PASS)
 #endif
+MODULE_PASS("dx-container-globals", DXContainerGlobalsPass())
----------------
bogner wrote:

This doesn't match the existing pass name (`dx-globals` apparently) and while it does match the file/class name conventions that were used here I think a `dx-` prefix in addition to `dxil-` will cause confusion. Probably better to call this `dxil-container-globals` and rename the legacy pass to match.

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


More information about the llvm-branch-commits mailing list