diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-08-16 00:41:37 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-08-16 00:41:37 +0000 |
commit | 6437f2c2e282a7b2a046f0ed282cc7c536ccc48a (patch) | |
tree | b4c4599c4a6ea8cdec988a9475a77f3ceed44d95 /lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 33cb445fb68589d59172e02253367cfae700d4b1 (diff) |
After talking with Bill, it seems like the LandingPad handling here is likely
to be wrong (or at least somewhat suspect). Leave a FIXME for Bill.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
-rw-r--r-- | lib/Transforms/Utils/SimplifyCFG.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index 2d60c35afb..9f2c311601 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -2266,10 +2266,7 @@ bool SimplifyCFGOpt::SimplifyUnreachable(UnreachableInst *UI) { !isa<LandingPadInst>(BBI)) { break; } - // 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. + // FIXME: Handling of LandingPadInst (landingpad) is suspicious. } // Delete this instruction (any uses are guaranteed to be dead) |