[PATCH] D73804: [GVN] Add GVNOption to control load-pre more fine-grained.
Hendrik Greving via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 31 13:30:53 PST 2020
hgreving created this revision.
hgreving added reviewers: asbirlea, rnk, fhahn, reames, skatkov.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
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.
Adds the lit test Transforms/GVN/PRE/pre-load-in-loop.ll.
Repository:
rL LLVM
https://reviews.llvm.org/D73804
Files:
llvm/include/llvm/Transforms/Scalar/GVN.h
llvm/lib/Transforms/Scalar/GVN.cpp
llvm/test/Transforms/GVN/PRE/pre-load-in-loop.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73804.241799.patch
Type: text/x-patch
Size: 3749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200131/54fca001/attachment-0001.bin>
More information about the llvm-commits
mailing list