[PATCH] D102764: [IR] Prefer not to delete blocks that have their address taken

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 15:36:18 PDT 2021


efriedma added a comment.

Rather than a "zombie" BB, my suggestion is to invent a new kind of blockaddress that doesn't refer to a bb at all.  The backend would then just point it at the entry block or something like that.  Makes blockaddress handling a bit more complicated, but it makes CFG handling simpler, which seems more important.  (Our current CFG rules are hard enough to understand.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102764



More information about the llvm-commits mailing list