Ramkumar Ramachandra
4c01a58008
update_analyze_test_checks: support output from LAA ( #67584 )
...
update_analyze_test_checks.py is an invaluable tool in updating tests.
Unfortunately, it only supports output from the CostModel,
ScalarEvolution, and LoopVectorize analyses. Many LoopAccessAnalysis
tests use hand-crafted CHECK lines, and it is moreover tedious to
generate these CHECK lines, as the output fom the analysis is not
stable, and requires the test-writer to hand-craft FileCheck matches.
Alleviate this pain, and support output from:
$ opt -passes='print<loop-accesses>'
This patch includes several non-trivial changes including:
- Preserving whitespace at the beginning of the line, so that the LAA
output can be properly indented.
- Regexes matching the unstable output, which is basically a pointer
address hex.
- Separating is_analyze from preserve_names clearly, as the former was
formerly used as an overload for the latter.
To demonstate the utility of this patch, several tests in
LoopAccessAnalysis have been auto-generated by
update_analyze_test_checks.py.
2023-10-31 14:33:53 +00:00
..
2023-10-26 12:07:37 -07:00
2023-05-17 17:03:15 +02:00
2023-10-31 09:51:30 +00:00
2023-05-17 17:03:15 +02:00
2023-07-05 09:54:28 +02:00
2023-07-05 09:54:28 +02:00
2023-05-17 17:03:15 +02:00
2023-09-28 12:10:38 +02:00
2022-12-07 20:15:43 +03:00
2022-12-07 20:15:43 +03:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2023-07-05 09:54:28 +02:00
2022-12-23 16:35:26 +01:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2023-07-05 09:54:28 +02:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-07 20:15:43 +03:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2023-04-13 10:21:24 +05:30
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-07 20:15:43 +03:00
2023-07-05 09:54:28 +02:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2023-03-14 20:55:17 +07:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-09-26 14:25:37 +01:00
2023-07-19 10:39:59 +02:00
2022-12-07 20:15:43 +03:00
2022-12-07 20:15:43 +03:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2023-07-05 09:54:28 +02:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2023-07-05 09:54:28 +02:00
2023-07-05 09:54:28 +02:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-07 20:15:43 +03:00
2022-12-08 02:38:47 +03:00
2023-05-24 00:57:57 -07:00
2022-10-25 12:15:39 -04:00
2022-12-07 20:15:43 +03:00
2022-12-07 20:15:43 +03:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2023-10-31 14:02:42 +01:00
2023-10-31 14:02:42 +01:00
2022-12-05 12:10:53 -05:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-07 20:15:43 +03:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-07 20:15:43 +03:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2023-04-13 10:21:24 +05:30
2022-12-07 20:15:43 +03:00
2023-09-11 14:23:29 -07:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2023-07-05 09:54:28 +02:00
2023-07-05 09:54:28 +02:00
2023-09-11 14:23:29 -07:00
2022-12-07 20:15:43 +03:00
2023-07-05 09:54:28 +02:00
2023-07-05 09:54:28 +02:00
2022-12-23 16:35:26 +01:00
2023-09-11 14:23:29 -07:00
2023-07-05 09:54:28 +02:00
2023-07-05 09:54:28 +02:00
2023-07-05 09:54:28 +02:00
2022-12-23 16:35:26 +01:00
2022-10-07 20:02:58 +01:00
2022-10-18 15:12:24 +01:00
2023-07-05 09:54:28 +02:00
2022-12-23 16:35:26 +01:00
2023-07-05 09:54:28 +02:00
2023-07-05 09:54:28 +02:00
2022-12-07 20:15:43 +03:00
2022-12-20 18:36:42 +03:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2023-07-05 09:54:28 +02:00
2023-09-11 14:23:29 -07:00
2023-10-31 14:33:53 +00:00
2022-12-23 16:35:26 +01:00
2023-07-05 09:54:28 +02:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-12-23 16:35:26 +01:00
2022-10-07 14:54:34 -07:00
2023-01-20 16:08:25 +00:00
2022-12-08 11:47:16 +01:00