aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2012-04-13 20:45:45 +0000
committerHal Finkel <hfinkel@anl.gov>2012-04-13 20:45:45 +0000
commitfc3665c87519850f629c9565535e3be447e10add (patch)
tree1b11b5add5b97ad8f14fda8f200f22e2774d24f2 /include/llvm/Transforms
parent8800cada206d6f2eda1d54b2a40f4403e9e522bc (diff)
downloadexternal_llvm-fc3665c87519850f629c9565535e3be447e10add.zip
external_llvm-fc3665c87519850f629c9565535e3be447e10add.tar.gz
external_llvm-fc3665c87519850f629c9565535e3be447e10add.tar.bz2
Add support to BBVectorize for vectorizing selects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154700 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-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 7701ceb..776c005 100644
--- a/include/llvm/Transforms/Vectorize.h
+++ b/include/llvm/Transforms/Vectorize.h
@@ -43,6 +43,9 @@ struct VectorizeConfig {
/// @brief Vectorize the fused-multiply-add intrinsic.
bool VectorizeFMA;
+ /// @brief Vectorize select instructions.
+ bool VectorizeSelect;
+
/// @brief Vectorize loads and stores.
bool VectorizeMemOps;