[all-commits] [llvm/llvm-project] 860b37: [Passes] Run GlobalsAA before LICM during LTO in n...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu May 13 05:12:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 860b37526ae188d02e2dbf68a006eb26f936b5eb
      https://github.com/llvm/llvm-project/commit/860b37526ae188d02e2dbf68a006eb26f936b5eb
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-05-13 (Thu, 13 May 2021)

  Changed paths:
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/test/Other/new-pm-lto-defaults.ll
    M llvm/test/Transforms/PhaseOrdering/AArch64/globals-aa-required-for-vectorization.ll

  Log Message:
  -----------
  [Passes] Run GlobalsAA before LICM during LTO in new PM.

This patch adjusts the LTO pipeline in the new PM to run GlobalsAA
before LICM to match the legacy PM.

This fixes a regression where the new PM failed to vectorize loops that
require hoisting/sinking by LICM depending on GlobalsAA info.

Reviewed By: aeubanks

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




More information about the All-commits mailing list