Simplify blockaddress usage before giving up in MergeBlockIntoPredecessor
This is a missing small optimization in MergeBlockIntoPredecessor.
This helps with one simplifycfg test which expects this case to be handled.
Paths
| Differential D48284
Simplify blockaddress usage before giving up in MergeBlockIntoPredecessor ClosedPublic Authored by trentxintong on Jun 18 2018, 9:20 AM.
Details Summary Simplify blockaddress usage before giving up in MergeBlockIntoPredecessor This is a missing small optimization in MergeBlockIntoPredecessor. This helps with one simplifycfg test which expects this case to be handled.
Diff Detail
Event TimelineComment Actions Thank you for adding this!
This revision now requires changes to proceed.Jun 18 2018, 3:18 PM This revision is now accepted and ready to land.Jun 18 2018, 3:57 PM Closed by commit rL334992: Simplify blockaddress usage before giving up in MergeBlockIntoPredecessor (authored by trentxintong). · Explain WhyJun 18 2018, 4:03 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 151810 llvm/trunk/lib/Transforms/Utils/BasicBlockUtils.cpp
llvm/trunk/test/Transforms/SimplifyCFG/dce-cond-after-folding-terminator.ll
llvm/trunk/unittests/Transforms/Utils/BasicBlockUtils.cpp
|