Use an actual reverse-CFG reverse-postorder for the bottom-up traversal,
authorDan Gohman <gohman@apple.com>
Fri, 12 Aug 2011 00:24:29 +0000 (00:24 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 12 Aug 2011 00:24:29 +0000 (00:24 +0000)
commitd8e48c48215c8aaa87b19245efac8a490c693d17
treec818b5f99fb5e372263596191af60cf0c4efa45c
parent9b7ff12dd1e5e93d3305b366f79896308bed4a60
Use an actual reverse-CFG reverse-postorder for the bottom-up traversal,
rather than plain postorder, so that CFG constructs like single-exit loops
are reliably visited in a sensible order.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137398 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ObjCARC.cpp