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

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 11 19:36:36 PDT 2019


davidxl added a comment.

JumpThreading is basically basic block cloning followed by control flow simplification. This is just a special case where the second part is missing.

There is already  another special case in JT -- if all the Pred's target successor is the same, there is no threading either -- basically there is only control flow simplification part without the basic cloning.  These two cases are just at two different ends of the spectrum.


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

https://reviews.llvm.org/D68898





More information about the llvm-commits mailing list