[llvm] [VPlan] Introduce cannotHoistOrSinkRecipe (PR #162674)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 20 01:28:13 PDT 2025


================
@@ -1789,7 +1807,7 @@ sinkRecurrenceUsersAfterPrevious(VPFirstOrderRecurrencePHIRecipe *FOR,
         VPDT.properlyDominates(Previous, SinkCandidate))
       return true;
 
-    if (SinkCandidate->mayHaveSideEffects())
----------------
fhahn wrote:

the new checks seem stricter than previously in some sense, with the relaxation for assumes. If this change sbehavior, would be good to have a test, same afor the changes below

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


More information about the llvm-commits mailing list