[llvm] [HLSL] Analyze update counter usage (PR #130356)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 7 15:03:00 PST 2025


================
@@ -816,6 +816,8 @@ class OpLowerer {
 PreservedAnalyses DXILOpLowering::run(Module &M, ModuleAnalysisManager &MAM) {
   DXILBindingMap &DBM = MAM.getResult<DXILResourceBindingAnalysis>(M);
   DXILResourceTypeMap &DRTM = MAM.getResult<DXILResourceTypeAnalysis>(M);
+  DXILResourceCounterDirectionMap &DRCDM =
----------------
joaosaffran wrote:

Try changing the pass to a `ModulePass`, according to the docs, ImmutablePasses never "run" https://llvm.org/docs/WritingAnLLVMPass.html#the-immutablepass-class.

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


More information about the llvm-commits mailing list