This somewhat matches the --aa-pipeline option, which separates out any
AA analyses to make sure they run before other passes.
Makes check-llvm failures under new PM go from 2356 -> 2303.
AA passes are not handled by PassBuilder::parsePassPipeline() but rather
PassBuilder::parseAAPipeline(), which is why this fixes some failures.
/// For compatibility with legacy pass manager. I would move this above the introduced loop in opt.cpp. Probably adding something like AA analyses are not specified separately when using legacy PM.