[PATCH] D29016: [LoopUnswitch] Do not freeze condition if hoisted branch is guaranteed to be reachable

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 10:51:25 PST 2017


efriedma added a comment.

(I don't feel comfortable approving changes to loop-unswitch, so someone else should probably look over this.)



================
Comment at: lib/Transforms/Scalar/LoopUnswitch.cpp:656
+        // executed.
+        break;
+
----------------
Refactor the identical "find the next successor" code into a helper?


https://reviews.llvm.org/D29016





More information about the llvm-commits mailing list