mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
I think there was some confusion about what I meant. :-) Replacing the comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137743 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
578071a087
commit
23b49ba6d5
@ -2266,7 +2266,10 @@ bool SimplifyCFGOpt::SimplifyUnreachable(UnreachableInst *UI) {
|
||||
!isa<LandingPadInst>(BBI)) {
|
||||
break;
|
||||
}
|
||||
// FIXME: Handling of LandingPadInst (landingpad) is suspicious.
|
||||
// Note that deleting LandingPad's here is in fact okay, although it
|
||||
// involves a bit of subtle reasoning. If this inst is a LandingPad,
|
||||
// all the predecessors of this block will be the unwind edges of Invokes,
|
||||
// and we can therefore guarantee this block will be erased.
|
||||
}
|
||||
|
||||
// Delete this instruction (any uses are guaranteed to be dead)
|
||||
|
Loading…
Reference in New Issue
Block a user