Reid Kleckner
9bafb558c0
[GlobalOpt] Don't apply fastcc if it would break inalloca invariants
...
The inalloca parameter has to be the only parameter passed in memory.
Changing the convention to fastcc can break that.
At some point we should teach global opt how to optimize ABI attributes
like inalloca and maybe byval. These attributes are mainly used to match
C ABIs. They are harder for LLVM to optimize and they don't always
generate the best code.
Fixes PR38487
llvm-svn: 339360
2018-08-09 17:29:26 +00:00
..
2018-01-30 16:17:22 +00:00
2016-05-10 18:22:45 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2017-08-30 18:06:51 +00:00
2016-05-10 18:22:45 +00:00
2016-04-25 23:36:50 +00:00
2016-06-14 21:01:22 +00:00
2016-06-14 21:01:22 +00:00
2016-06-14 21:01:22 +00:00
2018-05-19 02:58:16 +00:00
2016-06-14 21:01:22 +00:00
2016-04-26 00:28:01 +00:00
2018-01-30 16:17:22 +00:00
2016-04-25 23:36:50 +00:00
2016-06-14 21:01:22 +00:00
2018-01-19 17:13:12 +00:00
2016-06-14 21:01:22 +00:00
2016-09-15 20:26:27 +00:00
2016-04-25 23:36:50 +00:00
2018-03-13 10:19:50 +00:00
2018-07-01 11:02:07 +00:00
2018-07-10 16:34:23 +00:00
2018-07-01 11:02:07 +00:00
2017-01-22 20:28:56 +00:00
2018-08-09 17:29:26 +00:00
2018-07-28 08:20:10 +00:00
2018-07-28 08:20:10 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2017-11-08 21:59:51 +00:00
2018-05-09 02:40:45 +00:00
2016-08-13 23:31:24 +00:00
2018-07-02 04:49:30 +00:00
2016-08-13 23:31:24 +00:00
2016-06-14 21:01:22 +00:00
2016-04-25 23:36:50 +00:00
2018-07-09 22:27:23 +00:00
2018-05-09 02:40:45 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-07-09 22:27:23 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2018-01-19 17:13:12 +00:00
2016-08-03 18:19:43 +00:00
2018-02-28 22:28:44 +00:00
2018-02-22 14:42:08 +00:00
2016-04-25 23:36:50 +00:00
2016-06-14 21:01:22 +00:00
2017-07-13 15:55:34 +00:00
2018-05-09 02:40:45 +00:00
2018-04-06 15:54:47 +00:00
2018-07-09 22:27:23 +00:00
2016-04-25 23:36:50 +00:00
2018-07-09 22:27:23 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-04-25 23:36:50 +00:00
2016-06-14 21:01:22 +00:00