diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2013-08-09 22:47:24 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-08-09 22:47:24 +0000 |
commit | 835738ce54edb4746cfa4cdfc76608fec03fab3a (patch) | |
tree | 9779f15e32d20228d7528ca356b2b82e524f7e0e /lib/Transforms/ObjCARC | |
parent | aaae6e9cb8c8567409739d7cde1c5caaf35810cf (diff) | |
download | llvm-835738ce54edb4746cfa4cdfc76608fec03fab3a.tar.gz llvm-835738ce54edb4746cfa4cdfc76608fec03fab3a.tar.bz2 llvm-835738ce54edb4746cfa4cdfc76608fec03fab3a.tar.xz |
Kill some duplicated code for removing unreachable BBs.
This moves removeUnreachableBlocksFromFn from SimplifyCFGPass.cpp
to Utils/Local.cpp and uses it to replace the implementation of
llvm::removeUnreachableBlocks, which appears to do a strict subset
of what removeUnreachableBlocksFromFn does.
Differential Revision: http://llvm-reviews.chandlerc.com/D1334
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188119 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/ObjCARC')
0 files changed, 0 insertions, 0 deletions