steplong added a comment. In D126984#3571573 <https://reviews.llvm.org/D126984#3571573>, @aeubanks wrote:
> IIRC in the past there was a strong preference to not have the pass manager > support this sort of thing > if you want to support this, there should be an RFC for how the optimization > part of this will work as it may require invasive changes to the LLVM pass > manager > > (if this is purely a clang frontend thing then ignore me) Hmm, this does affect codegen, so I'm not sure if it's purely a clang frontend thing. Maybe someone else can confirm. The motivation behind this was to add support for MSVC's `pragma optimize` in D125723 <https://reviews.llvm.org/D125723>. https://docs.microsoft.com/en-us/cpp/preprocessor/optimize?view=msvc-170 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D126984/new/ https://reviews.llvm.org/D126984 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits