[all-commits] [llvm/llvm-project] e53bbf: [GVN] Add GVNOption to control load-pre more fine-...

Thomas via All-commits all-commits at lists.llvm.org
Mon Feb 3 23:01:37 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e53bbf12132570ee6313ef500e1c715d3eab4e6f
      https://github.com/llvm/llvm-project/commit/e53bbf12132570ee6313ef500e1c715d3eab4e6f
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/GVN.h
    M llvm/lib/Transforms/Scalar/GVN.cpp
    A llvm/test/Transforms/GVN/PRE/pre-load-in-loop.ll

  Log Message:
  -----------
  [GVN] Add GVNOption to control load-pre more fine-grained.

Adds the global (cl::opt) GVNOption enable-load-in-loop-pre in order
to control whether the optimization will be performed if the load
is part of a loop.

Patch by Hendrik Greving!

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




More information about the All-commits mailing list