Custom inserters (e.g., conditional moves in Thumb1 can introduce
new basic blocks, and if used as a function argument, that can cause call frame
setup / destroy pairs to be split across a basic block boundary. That prevents
us from doing a simple assertion to check that the pairs match and alloc/
dealloc the same amount of space. Modify the assertion to only check the
amount allocated when there are matching pairs in the same basic block.
rdar://
8022442
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107517
91177308-0d34-0410-b5e6-
96231b3b80d8