[FunctionAttrs] Make the per-function attribute inference a boring
authorChandler Carruth <chandlerc@gmail.com>
Sun, 13 Sep 2015 08:03:23 +0000 (08:03 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 13 Sep 2015 08:03:23 +0000 (08:03 +0000)
commit444d0056157592b565a2ed7d4632e23420a79a92
tree8aeb34570dead3f778acb72e212f6d1ff369cc4b
parentd02452015c7a19264abfb27405cf248254b58d12
[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.

llvm-svn: 247522
llvm/lib/Transforms/IPO/FunctionAttrs.cpp