commit | 76739f43a990e2599e6273b2f025fbee3e68f692 | [log] [tgz] |
---|---|---|
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Wed Apr 27 19:04:40 2016 +0000 |
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Wed Apr 27 19:04:40 2016 +0000 |
tree | 02281ed1b6cc4cd10b01943bad83f8fa948fff41 | |
parent | 8a8efec992c2f15f456662070daf05edc5832237 [diff] |
[TLI] Unify LibFunc attribute inference. NFCI. Now the pass is just a tiny wrapper around the util. This lets us reuse the logic elsewhere (done here for BuildLibCalls) instead of duplicating it. The next step is to have something like getOrInsertLibFunc that also sets the attributes. Differential Revision: http://reviews.llvm.org/D19470 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267759 91177308-0d34-0410-b5e6-96231b3b80d8