[llvm] [VPlan] Support live-ins without underlying IR in type analysis. (PR #80723)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 21 06:19:49 PST 2024
================
@@ -47,7 +49,8 @@ class VPTypeAnalysis {
Type *inferScalarTypeForRecipe(const VPReplicateRecipe *R);
public:
- VPTypeAnalysis(LLVMContext &Ctx) : Ctx(Ctx) {}
+ VPTypeAnalysis(Type *CanonicalIVTy, LLVMContext &Ctx)
+ : CanonicalIVTy(CanonicalIVTy), Ctx(Ctx) {}
----------------
ayalz wrote:
nit (unrelated to this patch): does VPTypeAnalysis really need `Ctx`?
https://github.com/llvm/llvm-project/pull/80723
More information about the llvm-commits
mailing list