[llvm] [HLSL][DirectX] Handles GEPs in dxil resource access pass (PR #224754)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 13:51:41 PDT 2026


================
@@ -793,10 +822,13 @@ static SmallVector<IntrinsicInst *> collectUsedHandles(Value *Ptr) {
     } else if (auto *Select = dyn_cast<SelectInst>(X))
       for (Value *V : {Select->getTrueValue(), Select->getFalseValue()})
         Worklist.push_back(V);
----------------
farzonl wrote:

I know you didn't add this but why does this need to be a loop?

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


More information about the llvm-commits mailing list