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

Vedant Paranjape via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 20:10:09 PDT 2023


vedant-amd added a comment.

In D149130#4296535 <https://reviews.llvm.org/D149130#4296535>, @fhahn wrote:

> If the block is unreachable, how come it is even considered for outlining?

This behaviour is triggered even if there are regions of unreachable basic blocks.

no predecessors -> A -> B -> C -> while.end


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