[PATCH] D139993: [LoopFusion] Sorting of undominated FusionCandidates crashes

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 22 10:35:05 PST 2022


aeubanks added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LoopFuse.cpp:432
+        nonStrictlyPostDominate(RHSEntryBlock, LHSEntryBlock, DT, LHS.PDT);
+    if (WrongOrder && RightOrder) {
+      // If common predecessor of LHS and RHS post dominates both
----------------
actually, do we have tests for all the WrongOrder/RightOrder combinations?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139993/new/

https://reviews.llvm.org/D139993



More information about the llvm-commits mailing list