[all-commits] [llvm/llvm-project] 0c6bba: [TargetPassConfig] Don't add alias analysis at opt...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat May 23 01:38:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c6bba71e3926edf19251425fa6435250f148ece
      https://github.com/llvm/llvm-project/commit/0c6bba71e3926edf19251425fa6435250f148ece
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-05-23 (Sat, 23 May 2020)

  Changed paths:
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/test/CodeGen/AArch64/O0-pipeline.ll
    M llvm/test/CodeGen/AArch64/O3-pipeline.ll
    M llvm/test/CodeGen/ARM/O3-pipeline.ll
    M llvm/test/CodeGen/X86/O0-pipeline.ll
    M llvm/test/CodeGen/X86/O3-pipeline.ll

  Log Message:
  -----------
  [TargetPassConfig] Don't add alias analysis at optnone

When performing codegen at optnone, don't add alias analysis to
the pipeline. We don't need it, but it causes an unnecessary
dominator tree calculation.

I've also moved the module verifier call to the top so that a bunch
of disabled-at-optnone passes group more nicely.

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




More information about the All-commits mailing list