summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGLoopInfo.h
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2014-06-25 15:42:16 +0000
committerEli Bendersky <eliben@google.com>2014-06-25 15:42:16 +0000
commit713c1eaed4018e4c3ec5a64114a1c8bb4e240eb9 (patch)
treeea5d3a185aa12930e6841e7c8ed1d8c737017abb /lib/CodeGen/CGLoopInfo.h
parent3d34ffaa95ad22393234dd26b3622bd0ce6928cf (diff)
downloadclang-713c1eaed4018e4c3ec5a64114a1c8bb4e240eb9.tar.gz
clang-713c1eaed4018e4c3ec5a64114a1c8bb4e240eb9.tar.bz2
clang-713c1eaed4018e4c3ec5a64114a1c8bb4e240eb9.tar.xz
Rename loop unrolling and loop vectorizer metadata to have a common prefix.
[Clang part] These patches rename the loop unrolling and loop vectorizer metadata such that they have a common 'llvm.loop.' prefix. Metadata name changes: llvm.vectorizer.* => llvm.loop.vectorizer.* llvm.loopunroll.* => llvm.loop.unroll.* This was a suggestion from an earlier review (http://reviews.llvm.org/D4090) which added the loop unrolling metadata. Patch by Mark Heffernan. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211712 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGLoopInfo.h')
-rw-r--r--lib/CodeGen/CGLoopInfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/CGLoopInfo.h b/lib/CodeGen/CGLoopInfo.h
index f4a8dcae69..2461368336 100644
--- a/lib/CodeGen/CGLoopInfo.h
+++ b/lib/CodeGen/CGLoopInfo.h
@@ -37,16 +37,16 @@ struct LoopAttributes {
/// \brief Generate llvm.loop.parallel metadata for loads and stores.
bool IsParallel;
- /// \brief Values of llvm.vectorizer.enable metadata.
+ /// \brief Values of llvm.loop.vectorize.enable metadata.
enum LVEnableState { VecUnspecified, VecEnable, VecDisable };
- /// \brief llvm.vectorizer.enable
+ /// \brief llvm.loop.vectorize.enable
LVEnableState VectorizerEnable;
- /// \brief llvm.vectorizer.width
+ /// \brief llvm.loop.vectorize.width
unsigned VectorizerWidth;
- /// \brief llvm.vectorizer.unroll
+ /// \brief llvm.loop.vectorize.unroll
unsigned VectorizerUnroll;
};