Fangrui Song
a7866b1030
[GlobalOpt] Simplify __cxa_atexit elimination
...
cxxDtorIsEmpty checks callers recursively to determine if the
__cxa_atexit-registered function is empty, and eliminates the
__cxa_atexit call accordingly.
This recursive check is unnecessary as redundant instructions and
function calls can be removed by early-cse and inliner. In addition,
cxxDtorIsEmpty does not mark visited function and it may visit a
function exponential times (multiplication principle).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353603 91177308-0d34-0410-b5e6-96231b3b80d8
2019-02-09 09:18:37 +00:00
..
2018-01-30 16:17:22 +00:00
2015-02-27 21:17:42 +00:00
2015-03-13 18:20:45 +00:00
2015-02-27 19:29:02 +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
2016-05-10 18:22:45 +00:00
2015-03-13 18:20:45 +00:00
2018-08-28 01:18:29 +00:00
2015-02-27 21:17:42 +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
2015-03-13 18:20:45 +00:00
2015-03-13 18:20:45 +00:00
2016-04-25 23:36:50 +00:00
2015-09-11 03:22:04 +00:00
2015-09-11 03:22:04 +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
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-02-27 21:17:42 +00:00
2015-02-27 21:17:42 +00:00
2016-06-14 21:01:22 +00:00
2015-12-22 19:50:22 +00:00
2016-06-14 21:01:22 +00:00
2015-09-11 03:22:04 +00:00
2016-06-14 21:01:22 +00:00
2018-05-19 02:58:16 +00:00
2015-03-13 18:20:45 +00:00
2016-06-14 21:01:22 +00:00
2015-02-27 21:17:42 +00:00
2015-12-09 16:17:07 +00:00
2016-04-26 00:28:01 +00:00
2015-03-27 22:04:28 +00:00
2015-06-17 20:52:32 +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
2015-03-13 18:20:45 +00:00
2018-01-19 17:13:12 +00:00
2015-02-27 19:29:02 +00:00
2016-06-14 21:01:22 +00:00
2015-03-13 18:20:45 +00:00
2019-02-09 09:18:37 +00:00
2016-09-15 20:26:27 +00:00
2015-02-27 21:17:42 +00:00
2016-04-25 23:36:50 +00:00
2015-12-22 19:50:22 +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
2015-03-13 18:20:45 +00:00
2015-10-12 13:20:52 +00:00
2018-08-09 17:29:26 +00:00
2015-11-15 14:21:37 +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
2016-01-22 21:18:20 +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
2015-02-27 21:17:42 +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
2015-02-27 21:17:42 +00:00
2018-05-09 02:40:45 +00:00
2015-12-22 19:50:22 +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
2015-02-27 21:17:42 +00:00
2018-07-09 22:27:23 +00:00
2016-01-22 21:18:20 +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
2015-01-06 22:55:16 +00:00
2018-05-09 02:40:45 +00:00
2018-10-23 16:35:51 +00:00
2016-01-22 21:18:20 +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
2015-07-28 16:24:05 +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
2015-02-27 21:17:42 +00:00