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

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 27 12:16:35 PDT 2021


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



More information about the llvm-commits mailing list