[llvm] [DirectX] Add Range Overlap validation (PR #152229)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 6 16:55:51 PDT 2025


================
@@ -945,6 +946,7 @@ class DXILOpLoweringLegacy : public ModulePass {
     AU.addPreserved<DXILResourceWrapperPass>();
     AU.addPreserved<DXILMetadataAnalysisWrapperPass>();
     AU.addPreserved<ShaderFlagsAnalysisWrapper>();
+    AU.addPreserved<RootSignatureAnalysisWrapper>();
----------------
bogner wrote:

We'll need to preserve the root signature analysis in the new-PM version of the pass as well (that is, in `DXILOpLowering::run`)

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


More information about the llvm-commits mailing list