[PATCH] D110613: [Taildup] Don't tail-duplicate loop header with multiple successors as its latches
Kai Luo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 22 17:49:42 PST 2021
lkail added a comment.
As reported in https://reviews.llvm.org/rGc93f93b2e3f28997f794265089fb8138dd5b5f13, we should implement a more general way to avoid adding quadratic edges in CFGs. For reducible graphs, I think we can simply check if `TailBB` is loop header.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110613/new/
https://reviews.llvm.org/D110613
More information about the llvm-commits
mailing list