[PATCH] D121566: Load pass plugins during option processing, so that plugin options are registered and live.

wael yehia via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 10:54:43 PDT 2022


w2yehia added a comment.

> but if consequent it should also give an error if no pass from the loaded plugin was used.

Agreed. However, how can I tell if this occurs? Is there a simple way to check that?

> If you really want that error, I suggest to introduce a new %loadPolly_NPM (or similar name) that loads the NPM plugin, and %loadPolly to only load the legacy PM plugin.

%loadPolly is currently used in all polly testcases. Does this require touching every polly testcase that uses %loadPolly? Is there an easy way to tell (by inspection) if a testcase is calling the NPM passes of polly?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121566/new/

https://reviews.llvm.org/D121566



More information about the llvm-commits mailing list