summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2012-06-23 21:52:50 +0000
committerHal Finkel <hfinkel@anl.gov>2012-06-23 21:52:50 +0000
commite415f96b6a43ac8861148a11a4258bc38c247e8f (patch)
treea3c03b9d3fc7c2b94d24b8bc12eddbd6b5579de2 /include
parent624a9c49d436947b6ad56140966fa76e574f43ef (diff)
downloadllvm-e415f96b6a43ac8861148a11a4258bc38c247e8f.tar.gz
llvm-e415f96b6a43ac8861148a11a4258bc38c247e8f.tar.bz2
llvm-e415f96b6a43ac8861148a11a4258bc38c247e8f.tar.xz
Allow BBVectorize to fuse compare instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/Vectorize.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Vectorize.h b/include/llvm/Transforms/Vectorize.h
index 652916c26c..d73db66377 100644
--- a/include/llvm/Transforms/Vectorize.h
+++ b/include/llvm/Transforms/Vectorize.h
@@ -49,6 +49,9 @@ struct VectorizeConfig {
/// @brief Vectorize select instructions.
bool VectorizeSelect;
+ /// @brief Vectorize comparison instructions.
+ bool VectorizeCmp;
+
/// @brief Vectorize getelementptr instructions.
bool VectorizeGEP;