Akira Hatanaka
b45b1ea86f
[Inliner] Merge the attributes of the caller and callee functions
...
This patch turns off the fast-math optimization attribute on the caller
if the callee's fast-math attribute is not turned on.
For example,
- before inlining
caller: "less-precise-fpmad"="true"
callee: "less-precise-fpmad"="false"
- after inlining
caller: "less-precise-fpmad"="false"
Alternatively, it's possible to block inlining if the caller's and
callee's attributes don't match. If this approach is preferable to the
one in this patch, we can discuss post-commit.
rdar://problem/19836465
Differential Revision: http://reviews.llvm.org/D7802
llvm-svn: 257575
2016-01-13 06:02:45 +00:00
..
2015-07-02 01:36:31 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2015-02-27 21:17:42 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-11-05 22:03:56 +00:00
2015-11-19 05:56:52 +00:00
2015-02-27 19:29:02 +00:00
2015-03-04 18:43:29 +00:00
2014-05-19 18:25:54 +00:00
2016-01-13 06:02:45 +00:00
2015-02-27 21:17:42 +00:00
2014-07-01 00:19:34 +00:00
2015-02-27 21:17:42 +00:00
2015-06-16 20:24:25 +00:00
2015-03-13 18:20:45 +00:00
2015-06-17 20:52:32 +00:00
2015-02-27 21:17:42 +00:00
2015-04-20 16:11:05 +00:00
2015-06-17 20:52:32 +00:00
2015-11-05 22:03:56 +00:00
2015-08-28 20:26:49 +00:00
2015-12-19 22:40:28 +00:00
2015-04-16 23:24:18 +00:00
2015-02-27 21:17:42 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 21:17:42 +00:00
2015-07-07 22:25:32 +00:00
2015-02-27 21:17:42 +00:00
2015-08-28 20:26:49 +00:00
2015-02-27 21:17:42 +00:00
2015-11-05 22:03:56 +00:00
2015-11-11 02:11:46 +00:00
2015-02-27 21:17:42 +00:00
2015-06-17 20:52:32 +00:00
2015-04-16 23:24:18 +00:00
2015-09-23 15:49:08 +00:00
2015-02-27 21:17:42 +00:00
2015-12-22 00:32:35 +00:00
2015-02-27 21:17:42 +00:00
2015-07-27 18:31:03 +00:00
2015-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2015-12-22 00:32:35 +00:00
2015-02-12 21:04:22 +00:00
2015-11-19 05:56:52 +00:00
2015-06-17 20:52:32 +00:00
2015-04-16 23:24:18 +00:00
2015-08-11 16:10:41 +00:00
2014-11-04 02:02:14 +00:00
2015-11-19 05:56:52 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2015-03-04 18:43:29 +00:00
2015-11-22 00:16:24 +00:00
2015-11-19 05:56:52 +00:00
2015-11-22 00:16:24 +00:00
2015-02-27 21:17:42 +00:00
2015-06-26 20:51:17 +00:00
2014-07-03 02:11:49 +00:00
2015-02-27 21:17:42 +00:00
2015-01-06 22:55:16 +00:00
2015-05-05 20:14:22 +00:00
2015-02-27 21:17:42 +00:00
2015-03-20 18:33:12 +00:00
2014-04-28 08:52:44 +00:00
2015-05-27 02:49:05 +00:00
2015-11-10 09:47:48 +00:00