[PATCH] D68898: JumpThreading: enhance JT to handle BB with no successor and address comparison

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 11 17:38:02 PDT 2019


efriedma added a comment.

If the terminator is a "ret", or some arbitrary terminator that doesn't simplify, it's not really "threading"; it's just tail duplication.  That's likely profitable in some cases, but using ThreadEdge to perform the transform seems confusing.


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

https://reviews.llvm.org/D68898





More information about the llvm-commits mailing list