commit | 848219ca612e5488982f23c37c7459aeedff77e3 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Sun Sep 13 08:23:27 2015 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Sun Sep 13 08:23:27 2015 +0000 |
tree | 91d8a78f00d511a096116fd926f7c2dc9f552a3f | |
parent | 1f97273f8fb2e51080ef2c7a9cd867d0d0ccf8a0 [diff] |
[FunctionAttrs] Move the malloc-like test to a static helper function that could be used from a new pass manager. This one makes particular sense as a static helper as it doesn't even need TLI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247525 91177308-0d34-0410-b5e6-96231b3b80d8