[PATCH] D28724: Use getLoopLatch in place of isLoopSimplifyForm

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 15 12:38:09 PST 2017


sanjoy added inline comments.


================
Comment at: unittests/Analysis/LoopInfoTest.cpp:85
+  Passes.add(P);
+  Passes.run(*M);
+
----------------
Also, I'd add a check that the loop is **not** in loop simplify form, to make sure we're testing the right thing.


https://reviews.llvm.org/D28724





More information about the llvm-commits mailing list