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