[llvm] [VPlan] First step towards VPlan cost modeling (LegacyCM in CostCtx) (PR #92555)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 03:51:05 PDT 2024


================
@@ -701,6 +716,27 @@ class VPLiveOut : public VPUser {
 #endif
 };
 
+/// Struct to hold various analysis needed for cost computations.
+struct VPCostContext {
+  const TargetTransformInfo &TTI;
+  VPTypeAnalysis Types;
+  LLVMContext &Ctx;
----------------
fhahn wrote:

Updated, thanks!

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


More information about the llvm-commits mailing list