[all-commits] [llvm/llvm-project] f58a64: [PassBuilder] Use loop-mssa for licm

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Aug 17 12:23:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f58a642da19c64cb6ee1badb0f176a872c1d7a0a
      https://github.com/llvm/llvm-project/commit/f58a642da19c64cb6ee1badb0f176a872c1d7a0a
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-08-17 (Tue, 17 Aug 2021)

  Changed paths:
    M llvm/lib/Passes/PassBuilder.cpp

  Log Message:
  -----------
  [PassBuilder] Use loop-mssa for licm

Currently specifying -licm or -passes=licm will implicitly create
-passes=loop(licm). This does not match the intended default (used
by the legacy PM and by the default pipeline) of using the
MemorySSA-based LICM implementation. As I plan to drop the non-MSSA
implementation, this will stop working entirely...

This special-cases licm to create a loop-mssa manager instead. At
this point it's still possible to use -passes='loop(licm)' to opt
into the AST-based implementation.

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




More information about the All-commits mailing list