ABataev added a comment. In D108826#2969701 <https://reviews.llvm.org/D108826#2969701>, @nikic wrote:
> @ABataev The pipeline already distinguishes between pre-link and post-link > optimization pipelines, see e.g. the flag that gets passed to LoopRotate to > control rotation of loops with calls > (https://github.com/llvm/llvm-project/blob/2f69c82cec1ae05b4fdcef4ac48f48e9e2bad32b/llvm/lib/Passes/PassBuilder.cpp#L760). > You'd probably want to do something similar here. Probably, will check, thanks for the link. > Though TBH I'm surprised that we perform vectorization in the pre-link > pipelines at all, I'd have assumed that this only gets done in the LTO step. No, also at the compile time. Most probably, just nobody looked at it. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108826/new/ https://reviews.llvm.org/D108826 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits