[llvm] Decompose gep of complex type struct to its element type (PR #107848)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 18:53:05 PDT 2024


================
@@ -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


More information about the llvm-commits mailing list