diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-10-22 20:29:08 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-10-22 20:29:08 +0000 |
commit | e0675fb8fbc78bd1e60bab0c1fac711eab96ab6e (patch) | |
tree | 83c831804e8b24fe661b43f0f9c53d89051b6965 /llvm/lib/ProfileData/CoverageMappingReader.cpp | |
parent | f4fb5f500c63e860cb60b5fea6dcd3e69e1927cd (diff) | |
download | bcm5719-llvm-e0675fb8fbc78bd1e60bab0c1fac711eab96ab6e.tar.gz bcm5719-llvm-e0675fb8fbc78bd1e60bab0c1fac711eab96ab6e.zip |
[Sink] Don't check BB.empty()
As an invariant, BasicBlocks cannot be empty when passed to a transform.
This is not the case for MachineBasicBlocks and the Sink pass was ported
from the MachineSink pass which would explain the check's existence.
llvm-svn: 251057
Diffstat (limited to 'llvm/lib/ProfileData/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions