[all-commits] [llvm/llvm-project] 0a0314: [PassBuilder] Don't use MemorySSA for standalone L...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Aug 16 11:34:38 PDT 2021


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

  Changed paths:
    M clang/test/CodeGen/thinlto-distributed-newpm.ll
    M llvm/lib/Passes/PassBuilder.cpp

  Log Message:
  -----------
  [PassBuilder] Don't use MemorySSA for standalone LoopRotate passes

Two standalone LoopRotate passes scheduled using
createFunctionToLoopPassAdaptor() currently enable MemorySSA.
However, while LoopRotate can preserve MemorySSA, it does not use
it, so requiring MemorySSA is unnecessary.

This change doesn't have a practical compile-time impact by itself,
because subsequent passes still request MemorySSA.

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




More information about the All-commits mailing list