[PATCH] D61142: Set LoopInterleaved in the PassManagerBuilder.
Alina Sbirlea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 25 11:45:56 PDT 2019
asbirlea created this revision.
Herald added subscribers: cfe-commits, jlebar.
Herald added a project: clang.
Corresponds to D61030 <https://reviews.llvm.org/D61030>.
Repository:
rC Clang
https://reviews.llvm.org/D61142
Files:
lib/CodeGen/BackendUtil.cpp
Index: lib/CodeGen/BackendUtil.cpp
===================================================================
--- lib/CodeGen/BackendUtil.cpp
+++ lib/CodeGen/BackendUtil.cpp
@@ -544,6 +544,7 @@
PMBuilder.LoopVectorize = CodeGenOpts.VectorizeLoop;
PMBuilder.DisableUnrollLoops = !CodeGenOpts.UnrollLoops;
+ PMBuilder.LoopsInterleaved = CodeGenOpts.UnrollLoops;
PMBuilder.MergeFunctions = CodeGenOpts.MergeFunctions;
PMBuilder.PrepareForThinLTO = CodeGenOpts.PrepareForThinLTO;
PMBuilder.PrepareForLTO = CodeGenOpts.PrepareForLTO;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61142.196696.patch
Type: text/x-patch
Size: 540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190425/140cff30/attachment.bin>
More information about the llvm-commits
mailing list