[llvm] [VPlan] Add WidenGEP::getSourceElementType (NFC) (PR #159029)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 16 04:23:55 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;
----------------
lukel97 wrote:
Do we need to store the type? Can we just access it via the underlying instruction instead
https://github.com/llvm/llvm-project/pull/159029
More information about the llvm-commits
mailing list