[PATCH] D108826: [SLP][LTO][WIP]Allow full SLP in LTO only at link time.

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 27 12:13:54 PDT 2021


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



More information about the cfe-commits mailing list