[PATCH] D134152: [SimplifyCFG][TranformUtils]Do not simplify away a trivial basic block if both this block and at least one of its predecessors are loop latches.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 22 09:46:38 PDT 2022


davidxl added a comment.

Thanks for the nice graph.  It looks like after the simplification, for.cond is used as latch for both the inner and outer loop, but only one MD data is allowed.   In this case, I think we should disable the block merge.


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

https://reviews.llvm.org/D134152



More information about the llvm-commits mailing list