[PATCH] D112226: [TailDuplicator] Fix merging block with terminator
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 21 08:41:25 PDT 2021
foad added inline comments.
================
Comment at: llvm/lib/CodeGen/TailDuplicator.cpp:974
+ } else {
+ LLVM_DEBUG(dbgs() << "Abort merging blocks, the predecessor still "
+ "contains terminator instructions");
----------------
Isn't there a danger that this will fall through to the code that updates phi nodes, even though we didn't merge anything?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112226/new/
https://reviews.llvm.org/D112226
More information about the llvm-commits
mailing list