diff options
author | weiguozhi <57237827+weiguozhi@users.noreply.github.com> | 2025-02-27 15:40:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-27 15:40:21 -0800 |
commit | 11e65b98b3c0088a84ca5d1d74a0fd4bab462b40 (patch) | |
tree | 7a722eda36dc6e3ec247409b3fb5add38c1cb640 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 63ecb0135d1c6457f82fc0e717d4fa8cdf0ee8e0 (diff) | |
download | llvm-11e65b98b3c0088a84ca5d1d74a0fd4bab462b40.zip llvm-11e65b98b3c0088a84ca5d1d74a0fd4bab462b40.tar.gz llvm-11e65b98b3c0088a84ca5d1d74a0fd4bab462b40.tar.bz2 |
[JumpThreading] Remove deleted BB from Unreachable (#126984)
Although an unreachable BB is skipped by processBlock, its successor can
still be handled by processBlock, and maybeMergeBasicBlockIntoOnlyPred
may merge the two BBs and delete the unreachable BB. Then the garbage
pointer is left in Unreachable set. This patch avoids merging a BB into
unreachable predecessor.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions