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

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 07:49:30 PST 2019


reames requested changes to this revision.
reames added inline comments.
This revision now requires changes to proceed.
Herald added a subscriber: jvesely.


================
Comment at: lib/Transforms/Scalar/LoopUnswitch.cpp:699
+    }
+  }
+
----------------
Please see Analysis/MustExecute.h.  We already have a tested implementation of this, please use it.  It looks like you probably want ICFLoopSafetyInfo


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

https://reviews.llvm.org/D29016





More information about the llvm-commits mailing list