llvm-project/llvm/test/Transforms/LoopVersioningLICM
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
..
convergent.ll
loopversioningLICM1.ll [LICM] Remove AST-based implementation 2021-08-18 20:21:53 +02:00
loopversioningLICM2.ll [LICM] Remove AST-based implementation 2021-08-18 20:21:53 +02:00
loopversioningLICM3.ll [opt] Directly translate -O# to -passes='default<O#>' 2021-10-18 16:48:10 -07:00
metadata.ll [opt] Directly translate -O# to -passes='default<O#>' 2021-10-18 16:48:10 -07:00