[PATCH] D115985: [JumpThreading] Remove unreachable blocks after jumpthreading
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 18 00:34:49 PST 2021
nikic added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/JumpThreading.cpp:341
+ if (Changed)
+ EliminateUnreachableBlocks(F, &DTU);
return Changed;
----------------
This code is only used by the legacy pass manager, so your test case cannot be using it. You'd have to do this in runImpl() for it to apply to both the legacy and new pass manager.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115985/new/
https://reviews.llvm.org/D115985
More information about the llvm-commits
mailing list