[llvm] [VPlan] Permit licm-sinking recipes with no users (PR #189957)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 06:16:18 PDT 2026


================
@@ -291,11 +291,13 @@ collectGroupedReplicateMemOps(
 
 /// Return true if we do not know how to (mechanically) hoist or sink \p R out
 /// of a loop region.
-static bool cannotHoistOrSinkRecipe(const VPRecipeBase &R) {
+static bool cannotHoistOrSinkRecipe(const VPRecipeBase &R,
+                                    bool Sinking = false) {
----------------
fhahn wrote:

should be documented

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


More information about the llvm-commits mailing list