[all-commits] [llvm/llvm-project] 347855: [GVN] introduce GVNOptions to control GVN pass beh...

Fedor Sergeev via All-commits all-commits at lists.llvm.org
Thu Jan 16 09:30:12 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3478551bf3d24ab20a52f1eddb5b4c9bd5c8bf77
      https://github.com/llvm/llvm-project/commit/3478551bf3d24ab20a52f1eddb5b4c9bd5c8bf77
  Author: Fedor Sergeev <fedor.sergeev at azul.com>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/GVN.h
    M llvm/lib/Transforms/Scalar/GVN.cpp

  Log Message:
  -----------
  [GVN] introduce GVNOptions to control GVN pass behavior

There are a few global (cl::opt) controls that enable optional
behavior in GVN. Introduce GVNOptions that provide corresponding
per-pass instance controls.

That will allow to use GVN multiple times in pipeline each time
with different settings.

Reviewers: asbirlea, rnk, reames, skatkov, fhahn
Reviewed By: fhahn

Tags: #llvm

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




More information about the All-commits mailing list