[all-commits] [llvm/llvm-project] dd0388: Add loop distribution to the LTO pipeline

Sanne Wouda via All-commits all-commits at lists.llvm.org
Tue Nov 10 04:04:55 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dd03881bd504f3ad78400260ae572f9c47fa8e63
      https://github.com/llvm/llvm-project/commit/dd03881bd504f3ad78400260ae572f9c47fa8e63
  Author: Sanne Wouda <Sanne.Wouda at arm.com>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
    M llvm/test/Other/opt-LTO-pipeline.ll

  Log Message:
  -----------
  Add loop distribution to the LTO pipeline

The LoopDistribute pass is missing from the LTO pipeline, so
-enable-loop-distribute has no effect during post-link. The pre-link
loop distribution doesn't seem to survive the LTO pipeline either.

With this patch (and -flto -mllvm -enable-loop-distribute) we see a 43%
uplift on SPEC 2006 hmmer for AArch64. The rest of SPECINT 2006 is
unaffected.

Differential Revision: https://reviews.llvm.org/D89896




More information about the All-commits mailing list