[PATCH] D72732: [GVN] introduce GVNOptions to control GVN pass behavior

Fedor Sergeev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 14 13:19:03 PST 2020


fedor.sergeev created this revision.
fedor.sergeev added reviewers: gchatelet, asbirlea, rnk, reames, skatkov.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
fedor.sergeev added a reviewer: fhahn.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72732

Files:
  llvm/include/llvm/Transforms/Scalar/GVN.h
  llvm/lib/Transforms/Scalar/GVN.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72732.238081.patch
Type: text/x-patch
Size: 5040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200114/f156962f/attachment.bin>


More information about the llvm-commits mailing list