[PATCH] D16829: An implementation of Swing Modulo Scheduling

Mark Schimmel via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 16:59:00 PST 2016


marksl added inline comments.

================
Comment at: lib/CodeGen/MachinePipeliner.cpp:877
@@ +876,3 @@
+
+  if (!L->getLoopPreheader())
+    return false;
----------------
I've seen CodeGenPrepare delete the preheader. Specifically, if the previous block is a loop and this loop immediate follows it. I don't have a test case, but it's basically two sequential for loops. I wonder if that has any impact here?


http://reviews.llvm.org/D16829





More information about the llvm-commits mailing list