[llvm] [LV] Check Addr in getAddressAccessSCEV in terms of SCEV expressions. (PR #171204)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 15 00:35:04 PST 2025
================
@@ -150,6 +152,23 @@ const SCEV *vputils::getSCEVExprForVPValue(const VPValue *V,
.Default([&SE](const VPRecipeBase *) { return SE.getCouldNotCompute(); });
}
+bool vputils::isAddressSCEVForCost(const SCEV *Addr, ScalarEvolution &SE,
+ const Loop *L) {
+ // If address is an SCEVAddExpr, all operands must be either be invariant or a
----------------
fhahn wrote:
updated, thanks
https://github.com/llvm/llvm-project/pull/171204
More information about the llvm-commits
mailing list