commit | 795e721a721e2594136fa6682fa370631722da37 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Sun Feb 01 10:47:25 2015 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Sun Feb 01 10:47:25 2015 +0000 |
tree | ecbdf15b20419a88ccce76a293641432a099942c | |
parent | b3f3d8975122cdd4222041439ac8771a912a6e38 [diff] |
[PM] Teach the module-to-function adaptor to not run function passes over declarations. This is both quite unproductive and causes things to crash, for example domtree would just assert. I've added a declaration and a domtree run to the basic high-level tests for the new pass manager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227724 91177308-0d34-0410-b5e6-96231b3b80d8