[llvm] [HLSL] Analyze updateCounter usage (PR #135669)
Helena Kotas via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 22 11:15:44 PDT 2025
================
@@ -775,6 +778,42 @@ void DXILResourceMap::populate(Module &M, DXILResourceTypeMap &DRTM) {
// Adjust the resource binding to use the next ID.
RI.setBindingID(NextID++);
}
+
----------------
hekota wrote:
I wonder if it would be good to move this and the code above into separate methods like `populateResourceInfos` and `analyzeCounterDirections` that would be called from `populate`. I believe there is also going to be a similar part for analyzing globally coherent resources.
https://github.com/llvm/llvm-project/pull/135669
More information about the llvm-commits
mailing list