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
..
2021-04-13 17:47:07 -07:00
2019-04-17 04:52:47 +00:00
2021-08-02 19:23:29 -04:00
2021-08-03 19:22:53 -04:00
2021-09-10 15:22:56 -05:00
2021-04-22 13:12:34 -07: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
2019-12-01 15:16:31 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2021-04-13 17:47:07 -07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2021-08-27 08:10:20 -04:00
2019-04-17 04:52:47 +00:00
2019-05-15 02:35:32 +00:00
2019-05-15 02:35:32 +00:00
2019-05-15 02:35:32 +00:00
2021-04-13 17:47:07 -07: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-05-28 17:09:45 +02:00
2019-04-17 04:52:47 +00:00
2019-04-25 17:00:01 +00:00
2020-12-04 11:05:01 -08:00
2019-04-17 04:52:47 +00:00
2020-07-13 21:44:17 -04: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-05-20 12:12:21 -04:00
2019-04-17 04:52:47 +00:00
2021-03-29 08:55:30 -04:00
2021-05-20 12:12:21 -04:00
2019-04-17 04:52:47 +00:00
2021-05-11 11:34:37 -07:00
2021-05-11 11:34:37 -07:00
2021-05-11 11:34:37 -07:00
2019-05-15 02:35:32 +00:00
2019-05-06 07:20:56 +00:00
2019-04-17 04:52:47 +00:00
2021-04-21 13:32:29 -07:00
2019-05-15 02:35:32 +00:00
2019-05-15 02:35:32 +00:00
2019-04-17 04:52:47 +00:00
2021-09-24 22:20:20 +02: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-10-18 16:48:10 -07:00
2020-05-15 19:41:07 +02:00
2019-04-17 04:52:47 +00:00
2021-07-20 12:27:26 -04:00
2020-05-15 19:41:07 +02:00
2021-05-11 11:34:37 -07:00
2019-04-17 04:52:47 +00:00
2019-05-15 02:35:32 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2021-07-31 18:42:02 -04:00
2021-08-24 20:47:33 -04:00
2021-07-20 12:27:26 -04:00
2021-07-20 12:27:26 -04: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-18 09:56:13 -07:00
2021-09-16 23:13:30 -04:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2021-07-14 15:37:01 -07:00
2021-08-17 14:34:29 -07:00
2020-05-15 19:41:07 +02:00
2019-04-17 04:52:47 +00:00
2020-05-15 19:41:07 +02:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-05-15 02:35:32 +00:00
2019-04-17 04:52:47 +00:00