================ @@ -1078,6 +1078,8 @@ class GetElementPtrInst : public Instruction { /// a constant offset between them. bool hasAllConstantIndices() const; + bool hasAllZeroIndicesExceptLast() const; ---------------- vfdff wrote: Done https://github.com/llvm/llvm-project/pull/107848