[llvm] [HLSL] Move DXILResourceImplicitBinding pass closer to DXIL Resource Analysis (PR #140981)

Sarah Spall via llvm-commits llvm-commits at lists.llvm.org
Thu May 22 08:07:51 PDT 2025


================
@@ -103,7 +103,6 @@ class DirectXPassConfig : public TargetPassConfig {
   FunctionPass *createTargetRegisterAllocator(bool) override { return nullptr; }
   void addCodeGenPrepare() override {
     addPass(createDXILFinalizeLinkageLegacyPass());
-    addPass(createDXILResourceImplicitBindingLegacyPass());
----------------
spall wrote:

When we talked about this you said that this pass needed to run 'before any pass that works with resources'? Is moving this after 'DXILResourceAccessLegacyPass' going to be a problem?

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


More information about the llvm-commits mailing list