[PATCH] D119760: [DSE] Fall back to CFG scan for unreachable terminators.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 14 13:30:09 PST 2022


efriedma added a comment.

I'm not convinced this is right... what happens if you replace "exit" with something that throws an exception, or calls longjmp, or has an infinite loop?  I'm not seeing any logic in this patch that actually reasons about the contents of the block that ends in "unreachable".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119760



More information about the llvm-commits mailing list