[PATCH] D78282: [Attributor][NFC][WIP] Increase the dependence recompute interval
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 01:33:59 PDT 2020
jdoerfert created this revision.
jdoerfert added reviewers: fhahn, lebedev.ri, uenoku, sstefan1.
Herald added subscribers: bollu, hiraditya.
Herald added a project: LLVM.
The flag determines how often we throw away dependence information and
start from scratch running all attributes. It does not change the
outcome but only the number of iterations and time it takes to get
there. Initial tests suggest compile time decreases with a higher
number.
TODO: Changes to the tests are missing.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D78282
Files:
llvm/lib/Transforms/IPO/Attributor.cpp
Index: llvm/lib/Transforms/IPO/Attributor.cpp
===================================================================
--- llvm/lib/Transforms/IPO/Attributor.cpp
+++ llvm/lib/Transforms/IPO/Attributor.cpp
@@ -71,7 +71,7 @@
static cl::opt<unsigned> DepRecInterval(
"attributor-dependence-recompute-interval", cl::Hidden,
cl::desc("Number of iterations until dependences are recomputed."),
- cl::init(4));
+ cl::init(16));
static cl::opt<bool> EnableHeapToStack("enable-heap-to-stack-conversion",
cl::init(true), cl::Hidden);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78282.257982.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200416/7918f7fb/attachment.bin>
More information about the llvm-commits
mailing list