mirror of
https://github.com/llvm/llvm-project.git
synced 2026-10-26 13:53:31 +08:00
Address comments after #226773: * Accept an empty argument again (-plugin-arg=<plugin>,). Tested by tut-simplify-cfg1.ll * Reject an argument for a name shared by several plugins. * Remove parsePassPluginCommandLine. Polly and the Bye example, which keep cl::opt, call cl::ParseCommandLineOptions from ParseArguments. * Drop cl::opt from the IRTransforms example: ParseArguments takes v1, v2 or v3. * Test -plugin-arg diagnostics. LLM-aided