Meinersbur added a comment.

My point is that it is possible for a pass plugin (such as `llvm/examples/Bye`) 
that can add themselves to the -O0 pipeline. If those plugins are linked 
statically, it will break tests that assume that no passes are added at those 
extension points.

I don't quite understand why Polly breaks anything: Unlike the "Bye" pass, it 
only adds something to the pass pipeline when `-polly` is passed to the command 
line. If it helps, I could change Polly to not even add a callback unless 
enabled. However, this does not solve the general pass plugin problem.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89158

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to