Florian Hahn
86d113a8b8
[SCEVExpand] Do not create redundant 'or false' for pred expansion.
...
This patch updates SCEVExpander::expandUnionPredicate to not create
redundant 'or false, x' instructions. While those are trivially
foldable, they can be easily avoided and hinder code that checks the
size/cost of the generated checks before further folds.
I am planning on look into a few other similar improvements to code
generated by SCEVExpander.
I remember a while ago @lebedev.ri working on doing some trivial folds
like that in IRBuilder itself, but there where concerns that such
changes may subtly break existing code.
Reviewed By: reames, lebedev.ri
Differential Revision: https://reviews.llvm.org/D116696
2022-01-06 11:52:19 +00:00
..
2020-10-19 13:11:13 -07:00
2019-04-17 04:52:47 +00:00
2021-04-20 09:54:45 +01:00
2019-04-17 04:52:47 +00:00
2021-12-13 16:56:22 -08:00
2021-06-07 10:47:52 +01:00
2019-04-17 04:52:47 +00:00
2021-10-27 22:21:37 +03:00
2021-11-10 11:21:19 +00:00
2021-10-16 12:32:18 +03:00
2021-11-22 10:57:29 +00:00
2021-11-12 15:44:58 -08:00
2021-05-21 17:23:45 +01:00
2021-07-12 20:38:25 +01:00
2022-01-04 10:12:57 +00:00
2022-01-05 10:46:06 +00:00
2021-10-06 22:54:15 +03:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2022-01-06 11:52:19 +00:00
2021-06-07 10:47:52 +01:00
2021-05-24 19:43:40 +02:00
2021-06-07 10:47:52 +01:00
2021-10-16 16:21:45 +01:00
2021-12-13 16:56:22 -08:00
2021-12-13 16:56:22 -08:00
2021-12-13 16:56:22 -08:00
2020-10-22 16:01:39 -04:00
2021-12-13 13:48:46 +07:00
2019-06-17 09:51:07 +00:00
2021-11-22 10:57:29 +00:00
2021-11-22 10:57:29 +00:00
2020-06-26 20:41:37 -07:00
2021-12-13 16:56:22 -08:00
2019-04-17 04:52:47 +00:00
2021-09-25 16:28:48 +01:00
2021-04-28 17:27:52 -04:00
2019-04-17 04:52:47 +00:00
2019-06-17 17:20:08 +00:00
2021-06-07 10:47:52 +01:00
2021-06-07 10:47:52 +01:00
2021-12-13 16:56:22 -08:00
2021-09-27 10:32:28 +01:00
2019-04-17 04:52:47 +00:00
2021-10-28 09:22:20 -07:00
2021-06-07 10:47:52 +01:00
2022-01-06 11:52:19 +00:00
2021-10-27 22:21:37 +03:00
2019-04-17 04:52:47 +00:00
2021-06-07 10:47:52 +01:00
2021-10-16 17:28:07 +01:00
2021-10-22 15:07:53 +03:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-06-26 20:55:44 -07:00
2021-06-07 10:47:52 +01:00
2019-10-12 02:53:04 +00:00
2020-12-20 15:41:29 -08:00
2021-03-29 16:14:27 +01:00
2021-06-07 10:47:52 +01:00
2019-04-17 04:52:47 +00:00
2022-01-05 10:46:06 +00:00
2021-10-06 22:54:15 +03:00
2019-04-17 04:52:47 +00:00
2021-06-10 23:37:57 +02:00
2022-01-05 10:46:06 +00:00
2019-04-17 04:52:47 +00:00
2021-07-02 13:09:00 +01:00
2021-11-10 11:21:19 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-30 21:29:20 +00:00
2019-04-17 04:52:47 +00:00
2021-06-07 10:47:52 +01:00
2022-01-05 12:20:59 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-10-19 12:05:37 -07:00
2021-05-24 19:43:40 +02:00
2019-04-17 04:52:47 +00:00
2021-10-18 16:48:10 -07:00
2022-01-02 12:48:17 +00:00
2021-12-13 16:56:22 -08:00
2021-11-22 10:57:29 +00:00
2021-06-28 11:10:38 +01:00