[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 23:07:01 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:
Is there any current use of `Ctx`? Sure, if this is indeed dead, should be eliminated separately.
https://github.com/llvm/llvm-project/pull/80723
More information about the llvm-commits
mailing list