commit | 9f7af7b74892e5479e26ab535c9a76131e1947c3 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Thu May 03 22:26:53 2012 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Thu May 03 22:26:53 2012 +0000 |
tree | 30201c77e9623debc534e82068795aa57307ac85 | |
parent | cb348b9b45025393ec5b28eac8bb6773a9b603f6 [diff] |
Factor the logic for testing whether a basic block is viable for code extraction into a public interface. Also clean it up and apply it more consistently such that we check for landing pads *anywhere* in the extracted code, not just in single-block extraction. This will be used to guide decisions in passes that are planning to eventually perform a round of code extraction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156114 91177308-0d34-0410-b5e6-96231b3b80d8