Sanjay Patel
4ecc6af813
[InstCombine] create a pass options container and add "use-loop-info" argument
...
This is a cleanup/modernization patch requested in D144045 to make loop
analysis a proper optional parameter to the pass rather than a
semi-arbitrary value inherited via the pass pipeline.
It's a bit more complicated than the recent patch I started copying from
(D143980) because InstCombine already has an option for MaxIterations
(added with D71145).
I debated just deleting that option, but it was used by a pair of existing
tests, so I put it into a struct (code largely copied from SimplifyCFG's
implementation) to make the code more flexible for future options
enhancements.
I didn't alter the pass manager invocations of InstCombine in this patch
because the patch was already getting big, but that will be a small
follow-up as noted with the TODO comment.
Differential Revision: https://reviews.llvm.org/D144199
2023-02-17 10:30:15 -05:00
..
2022-12-13 09:21:56 -08:00
2022-12-05 14:11:15 -05:00
2022-12-02 17:12:03 -05:00
2022-12-09 01:04:46 +03:00
2022-12-13 13:11:26 +01:00
2022-12-09 01:04:46 +03:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-09 01:04:46 +03:00
2022-12-13 13:11:26 +01:00
2022-12-09 01:04:46 +03:00
2022-12-13 13:11:26 +01:00
2022-12-09 01:04:46 +03:00
2022-11-04 10:21:38 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-09 01:04:46 +03:00
2022-12-09 01:04:46 +03:00
2022-12-09 01:04:46 +03:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 09:21:56 -08:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-09 01:04:46 +03:00
2023-01-30 12:01:02 -08:00
2022-12-09 01:04:46 +03:00
2022-11-08 12:15:42 +01:00
2022-12-09 01:04:46 +03:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-09 01:04:46 +03:00
2022-12-09 01:04:46 +03:00
2022-09-29 09:55:23 -07:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-09-09 13:45:14 -04:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-09-09 13:45:14 -04:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2023-01-18 09:58:32 +01:00
2022-12-09 01:04:46 +03:00
2022-12-13 09:21:56 -08:00
2023-01-10 14:55:12 -08:00
2023-02-10 15:01:49 +00:00
2023-02-07 13:17:27 -08:00
2022-11-28 11:00:45 -08:00
2022-11-28 11:00:45 -08:00
2022-12-13 13:11:26 +01:00
2023-02-17 10:30:15 -05:00
2022-11-28 11:00:45 -08:00
2023-02-10 15:01:49 +00:00
2023-02-10 15:01:49 +00:00
2023-02-16 15:23:38 -08:00
2023-02-16 15:23:38 -08:00
2023-02-16 15:23:38 -08:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2023-02-16 11:29:51 -08:00
2022-12-13 09:21:56 -08:00
2022-09-14 13:48:03 -07:00
2022-12-12 18:20:03 +03:00
2022-12-09 02:07:27 +03:00
2022-11-04 10:21:38 +01:00
2022-12-13 13:11:26 +01:00
2022-12-01 21:25:59 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 13:11:26 +01:00
2022-09-09 13:45:14 -04:00
2022-12-13 13:11:26 +01:00
2022-09-09 13:45:14 -04:00
2022-10-18 08:47:08 -07:00
2022-12-09 01:04:46 +03:00
2022-11-04 10:21:38 +01:00
2022-12-13 13:11:26 +01:00
2022-12-13 09:21:56 -08:00
2022-12-09 02:07:27 +03:00
2022-12-09 01:04:46 +03:00
2022-12-13 13:11:26 +01:00
2022-12-01 21:25:59 +01:00
2022-10-13 09:12:12 -07:00
2022-12-13 13:11:26 +01:00