[llvm] [HLSL][DirectX] handle updatecounter in dxil resource access pass (PR #223591)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 09:02:05 PDT 2026


================
@@ -754,13 +754,16 @@ static void createLoadIntrinsic(IntrinsicInst *II, LoadInst *LI,
   llvm_unreachable("Unhandled case in switch");
 }
 
-static Instruction *getStoreLoadPointerOperand(Instruction *AI) {
+static Instruction *getStoreLoadOperand(Instruction *AI) {
----------------
farzonl wrote:

it is a little hard to tell for the intrinsic case but I think Operand was the wrong word to preserve. should this be renamed to something like `getRWPointer()`

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


More information about the llvm-commits mailing list