Arthur Eubanks
15fefcb9eb
[opt] Directly translate -O# to -passes='default<O#>'
...
Right now when we see -O# we add the corresponding 'default<O#>' into
the list of passes to run when translating legacy -pass-name. This has
the side effect of not using the default AA pipeline.
Instead, treat -O# as -passes='default<O#>', but don't allow any other
-passes or -pass-name. I think we can keep `opt -O#` as shorthand for
`opt -passes='default<O#>` but disallow anything more than just -O#.
Tests need to be updated to not use `opt -O# -pass-name`.
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D112036
2021-10-18 16:48:10 -07:00
..
2020-10-19 13:11:13 -07:00
2019-04-17 04:52:47 +00:00
2021-06-28 11:10:38 +01:00
2021-06-07 10:47:52 +01:00
2019-04-17 04:52:47 +00:00
2021-07-01 15:34:20 +01:00
2021-06-21 16:24:16 -07:00
2021-10-16 12:32:18 +03:00
2021-10-18 16:48:10 -07:00
2021-05-21 17:23:45 +01:00
2021-07-12 20:38:25 +01:00
2019-04-17 04:52:47 +00:00
2021-10-13 22:35:39 +03:00
2021-10-06 22:54:15 +03:00
2019-04-17 04:52:47 +00:00
2021-06-07 10:47:52 +01: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-06-07 10:47:52 +01:00
2021-07-19 19:38:24 +08:00
2021-07-19 19:38:24 +08:00
2020-10-22 16:01:39 -04:00
2021-06-07 10:47:52 +01:00
2021-10-18 18:03:09 +01:00
2021-10-18 16:48:10 -07:00
2021-09-25 16:28:48 +01:00
2019-04-17 04:52:47 +00:00
2021-06-07 10:47:52 +01:00
2021-06-07 10:47:52 +01:00
2021-10-16 12:32:18 +03:00
2021-09-27 10:32:28 +01:00
2021-06-07 10:47:52 +01:00
2021-06-07 10:47:52 +01:00
2021-06-07 10:47:52 +01:00
2021-06-07 10:47:52 +01:00
2021-06-07 10:47:52 +01:00
2021-10-16 17:28:07 +01:00
2021-10-14 23:14:36 +03:00
2019-04-17 04:52:47 +00: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
2021-06-28 11:10:38 +01: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
2019-04-17 04:52:47 +00:00
2021-07-02 13:09:00 +01:00
2021-10-18 18:03:09 +01: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-17 04:52:47 +00:00
2021-06-07 10:47:52 +01:00
2019-04-17 04:52:47 +00: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
2021-10-12 21:44:42 +03:00
2021-08-23 21:09:26 +01:00
2021-06-28 11:10:38 +01:00
2021-06-28 11:10:38 +01:00