[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


================
@@ -810,9 +848,10 @@ DXILResourceMap::findByUse(const Value *Key) const {
   switch (CI->getIntrinsicID()) {
   // Found the create, return the binding
   case Intrinsic::dx_resource_handlefrombinding: {
-    const auto *It = find(CI);
----------------
hekota wrote:

There are 2 `find` methods ion `DXILResourceMap` that are no longer used and can be removed.

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


More information about the llvm-commits mailing list