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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 14:30:15 PDT 2024


================
@@ -1472,3 +1555,16 @@ VPValue *vputils::getOrCreateVPValueForSCEVExpr(VPlan &Plan, const SCEV *Expr,
   Plan.addSCEVExpansion(Expr, Expanded);
   return Expanded;
 }
+
+bool vputils::isUniformCompare(VPValue *Cond) {
----------------
fhahn wrote:

renamed, thanks!

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


More information about the llvm-commits mailing list