[PATCH] D121580: [SCCP] Fix crash when function arg is a unused basic block's address
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 15 01:22:20 PDT 2022
nikic added a reviewer: nickdesaulniers.
nikic added a comment.
Per the discussion on https://github.com/llvm/llvm-project/issues/54238, my understanding is that considering the block dead is okay semantically, so I'm not sure preventing that is the right fix here. Why does the "usual" replacement of the blockaddress with 1 not work here and crash instead?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121580/new/
https://reviews.llvm.org/D121580
More information about the llvm-commits
mailing list