Revert "[ObjC][ARC] Check the basic block size before calling DominatorTree::dominate"
authorReid Kleckner <rnk@google.com>
Tue, 18 Feb 2020 22:51:32 +0000 (14:51 -0800)
committerReid Kleckner <rnk@google.com>
Fri, 13 Mar 2020 18:57:55 +0000 (11:57 -0700)
commit478b06e68706610ecb3bb3d3693a21d98f5e339c
treec741c37ccb7fbf11c4d81807f60e9cb43473dc5e
parent05c0d3491822b3a74f49be2fe8c8273e436ab7ec
Revert "[ObjC][ARC] Check the basic block size before calling DominatorTree::dominate"

This reverts commit 5c3117b0a98dd11717eaffd7fb583985d39544b2

This should not be necessary after
7593a480dbce4e26f7dda4aa8f15bffd03acbfdb, and Florian Hahn has confirmed
that the problem no longer reproduces with this patch.

I happened to notice this code because the FIXME talks about
OrderedBasicBlock.

Reviewed By: fhahn, dexonsmith

Differential Revision: https://reviews.llvm.org/D76075
llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
llvm/test/Transforms/ObjCARC/contract-max-bb-size.ll [deleted file]