commit | 240a1f8074a4c97c0909fbc31232103a3ba91cce | [log] [tgz] |
---|---|---|
author | Florian Hahn <florian.hahn@arm.com> | Tue Jun 27 22:27:32 2017 +0000 |
committer | Florian Hahn <florian.hahn@arm.com> | Tue Jun 27 22:27:32 2017 +0000 |
tree | 89f0a0e08871bd897130bbbd78cb7b8996b9a8f8 | |
parent | 607969f748ffb59b0dbcf9a6aa22ebf0a20bd70f [diff] |
[AArch64] Inline callee if its target-features are a subset of the caller Summary: Similar to X86, it should be safe to inline callees if their target-features are a subset of the caller. This change matches GCC's inlining behavior with respect to attributes [1]. [1] https://gcc.gnu.org/onlinedocs/gcc/AArch64-Function-Attributes.html#AArch64-Function-Attributes Reviewers: kristof.beyls, javed.absar, rengolin, t.p.northover Reviewed By: t.p.northover Subscribers: aemerson, eraman, llvm-commits Differential Revision: https://reviews.llvm.org/D34698 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306478 91177308-0d34-0410-b5e6-96231b3b80d8