[llvm] [InstCombine] Merge constant offset geps across variable geps (PR #156326)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 2 07:09:14 PDT 2025


================
@@ -2674,6 +2674,62 @@ static Instruction *canonicalizeGEPOfConstGEPI8(GetElementPtrInst &GEP,
   return nullptr;
 }
 
+// Combine constant offsets separated by variable offsets.
----------------
dtcxzyw wrote:

Use `///`.

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


More information about the llvm-commits mailing list