summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2019-04-30 21:29:20 +0000
committerAlina Sbirlea <asbirlea@google.com>2019-04-30 21:29:20 +0000
commit4e1ac95cf5802a041a847b9feb8f215558b447fc (patch)
tree5097c99b67f140bca5ea917603584c3f04593091 /llvm/include
parentd407b4b980d41bc46a2b4678b7d39cb81779fb08 (diff)
downloadbcm5719-llvm-4e1ac95cf5802a041a847b9feb8f215558b447fc.tar.gz
bcm5719-llvm-4e1ac95cf5802a041a847b9feb8f215558b447fc.zip
[PassManagerBuilder] Add option for interleaved loops, for loop vectorize.
Summary: Match NewPassManager behavior: add option for interleaved loops in the old pass manager, and use that instead of the flag used to disable loop unroll. No changes in the defaults. Reviewers: chandlerc Subscribers: mehdi_amini, jlebar, dmgreen, hsaito, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D61030 llvm-svn: 359615
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h b/llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h
index ec707e8d866..33648e0f083 100644
--- a/llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h
+++ b/llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h
@@ -145,6 +145,7 @@ public:
bool DisableUnrollLoops;
bool SLPVectorize;
bool LoopVectorize;
+ bool LoopsInterleaved;
bool RerollLoops;
bool NewGVN;
bool DisableGVNLoadPRE;
OpenPOWER on IntegriCloud