[PATCH] D61620: [NewPassManager] Add tuning option: LoopUnrolling [clang-change]
Alina Sbirlea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 6 16:13:42 PDT 2019
asbirlea created this revision.
asbirlea added a reviewer: chandlerc.
Herald added subscribers: cfe-commits, dmgreen, jlebar.
Herald added a project: clang.
Use CodeGenOpts's setting for loop unrolling.
[to be coupled with D61618 <https://reviews.llvm.org/D61618>]
Repository:
rC Clang
https://reviews.llvm.org/D61620
Files:
lib/CodeGen/BackendUtil.cpp
Index: lib/CodeGen/BackendUtil.cpp
===================================================================
--- lib/CodeGen/BackendUtil.cpp
+++ lib/CodeGen/BackendUtil.cpp
@@ -1024,6 +1024,7 @@
}
PipelineTuningOptions PTO;
+ PTO.LoopUnrolling = CodeGenOpts.UnrollLoops;
// For historical reasons, loop interleaving is set to mirror setting for loop
// unrolling.
PTO.LoopInterleaving = CodeGenOpts.UnrollLoops;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61620.198364.patch
Type: text/x-patch
Size: 424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190506/04ef4079/attachment.bin>
More information about the llvm-commits
mailing list