[inliner] Don't inline a function if it doesn't have exactly the same
authorAkira Hatanaka <ahatanaka@apple.com>
Mon, 13 Apr 2015 18:43:38 +0000 (18:43 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Mon, 13 Apr 2015 18:43:38 +0000 (18:43 +0000)
commita50a33576704605efc41ea53d36c76692eddd1c6
treee1281c5d3ee521d6fa5ff24a8242014ea72d738b
parent75f1ab4b1b930c4cf2745b6f8d5a09989a96f4f5
[inliner] Don't inline a function if it doesn't have exactly the same
target-cpu and target-features attribute strings as the caller.

Differential Revision: http://reviews.llvm.org/D8984

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234773 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/IPA/InlineCost.cpp
test/Transforms/Inline/attributes.ll