Roman Lebedev
96d74530c0
[Reduce] Argument reduction: do deal with function declarations
...
We can happily turn function definitions into declarations,
thus obscuring their argument from being elided by this pass.
I don't believe there is a good reason to just ignore declarations.
likely even proper llvm intrinsics ones,
at worst the input becomes uninteresting.
The other question here is that all these transforms are all-or-nothing.
In some cases, should we be treating each use separately?
The main blocker here seemed to be that llvm::CloneFunctionInto()
does `&OldFunc->front()`, which inserts a nullptr into a densemap,
which is not happy about it and asserts.
2020-07-26 01:31:56 +03:00
..
2020-01-06 10:50:26 +00:00
2020-01-16 13:02:40 +00:00
2020-07-14 21:49:14 +02:00
2020-07-17 14:02:14 +00:00
2020-06-17 11:45:06 -07:00
2020-03-29 23:36:24 +05:30
2020-06-18 17:27:19 -04:00
2020-07-01 13:44:11 -07:00
2020-06-08 21:10:27 +02:00
2019-11-13 16:34:37 -08:00
2020-06-06 14:06:46 +01:00
2020-07-26 01:31:56 +03:00
2020-07-20 18:49:08 +01:00
2020-07-20 10:23:09 -04:00
2020-07-10 11:22:43 +05:30
2020-07-24 13:02:33 +01:00
2020-07-24 13:02:33 +01:00
2020-06-25 16:00:43 +01:00
2020-06-06 15:48:31 +01:00
2020-04-27 22:17:03 -07:00
2020-07-14 09:47:29 -07:00
2020-07-01 12:01:19 +01:00
2020-06-18 13:39:14 -07:00
2020-04-07 15:46:01 -07:00
2020-04-23 20:49:33 -07:00
2019-11-21 15:07:30 -08:00
2020-07-16 11:53:04 -07:00
2020-07-16 13:50:49 -04:00
2020-06-01 11:11:14 -04:00
2020-04-17 17:49:34 +07:00
2019-11-13 16:34:37 -08:00
2020-07-15 15:19:21 +01:00
2020-07-16 00:21:55 +03:00
2020-07-20 15:00:59 +02:00
2020-07-06 21:58:11 +02:00
2020-05-28 16:44:37 +00:00
2020-07-10 18:39:30 +00:00
2020-07-15 12:33:29 -07:00
2020-07-06 21:58:11 +02:00
2020-05-20 10:53:40 +01:00
2020-04-27 22:17:03 -07:00
2020-03-22 11:21:44 -04:00
2020-07-24 13:02:33 +01:00
2020-07-20 18:49:08 +01:00
2019-11-13 16:34:37 -08:00
2019-11-13 16:34:37 -08:00
2019-11-14 15:23:15 -08:00
2020-06-10 15:08:42 +02:00
2020-01-28 23:25:25 +01:00
2020-07-23 19:36:51 +02:00
2020-07-24 15:15:38 -05:00
2020-07-23 14:25:28 +01:00
2020-07-22 13:53:50 +07:00
2020-06-23 13:53:15 +03:00
2020-07-25 12:58:39 +01:00
2020-07-22 20:57:25 -07:00
2020-01-28 23:25:25 +01:00
2020-05-27 18:32:28 -07:00
2019-11-13 16:34:37 -08:00
2020-01-28 23:25:25 +01:00
2019-11-13 16:34:37 -08:00
2020-07-14 09:47:29 -07:00
2020-04-20 15:05:22 -07:00
2020-07-04 21:06:36 +03:00
2020-05-17 14:57:50 -07:00
2020-07-13 21:44:17 -04:00