nikic added a comment.

@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.

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.


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

Reply via email to