commit | 28b6c23c41301dfdbd55a998583503498d984a3f | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Sun Sep 13 08:03:23 2015 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Sun Sep 13 08:03:23 2015 +0000 |
tree | dd160e7ced5feebf107dfc421a092b6626664249 | |
parent | 821e7c773781472bd1fa3fa34a4e8ff477f90548 [diff] |
[FunctionAttrs] Make the per-function attribute inference a boring static function rather than a method. It just needed access to TargetLibraryInfo, and this way it can be easily reused between the current FunctionAttrs implementation and any port for the new pass manager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247522 91177308-0d34-0410-b5e6-96231b3b80d8