[llvm] [VPlan] Add WidenGEP::getSourceElementType (NFC) (PR #159029)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 22 02:09:58 PDT 2025


================
@@ -1763,6 +1763,8 @@ struct LLVM_ABI_FOR_TEST VPWidenSelectRecipe : public VPRecipeWithIRFlags,
 
 /// A recipe for handling GEP instructions.
 class LLVM_ABI_FOR_TEST VPWidenGEPRecipe : public VPRecipeWithIRFlags {
+  Type *SourceElementTy;
----------------
artagnon wrote:

I thought those changes are included in the patch? I couldn't find more opportunities in either VPWidenGEPRecipe::execute or in VPlanTransforms::cse: what am I missing?

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


More information about the llvm-commits mailing list