[PATCH] D149130: [PartialInlining] Fix incorrect costing when IR has unreachable BBs

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 11:52:22 PDT 2023


jdoerfert added a comment.

Generally, I don't believe we should run elimination in all passes. 
Instead, use the dominance tree to walk the blocks of a function, or walk it by manually following the control edges.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149130



More information about the llvm-commits mailing list