[llvm] [HLSL] Add support to lookup a ResourceBindingInfo from its use (PR #126556)
    Farzon Lotfi via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Feb 18 11:30:35 PST 2025
    
    
  
================
@@ -782,9 +781,8 @@ DXILBindingMap::findByUse(const Value *Key) const {
   }
 
   const CallInst *CI = dyn_cast<CallInst>(Key);
----------------
farzonl wrote:
How does it impact the recursion if we check for CallInst before PHINode? I kind of like my base cases to be first, but I know thats not always possible.
https://github.com/llvm/llvm-project/pull/126556
    
    
More information about the llvm-commits
mailing list