[llvm] [polly] [Plugins] Address review comments on -plugin-arg (PR #227545)
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 30 02:49:59 PDT 2026
================
@@ -692,7 +692,13 @@ void registerPollyPasses(PassBuilder &PB) {
} // namespace polly
static Error parseArguments(ArrayRef<const char *> Args) {
- return parsePassPluginCommandLine("Polly", Args);
+ SmallVector<const char *, 0> Argv = {"Polly"};
----------------
Meinersbur wrote:
Our programmer's manual prefers something different:
https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h
> In the absence of a well-motivated choice for the number of inlined elements N, it is recommended to use `SmallVector<T>` (that is, omitting the N).
https://github.com/llvm/llvm-project/pull/227545
More information about the llvm-commits
mailing list