summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGLoopInfo.cpp
diff options
context:
space:
mode:
authorMark Heffernan <meheff@google.com>2014-07-21 23:10:56 +0000
committerMark Heffernan <meheff@google.com>2014-07-21 23:10:56 +0000
commit34735af3cb613d21757e5c6de1b8629327d0c3bf (patch)
tree79dead450a2311efd3ca7f7c9063d4bcc32b963f /clang/lib/CodeGen/CGLoopInfo.cpp
parent24d8aacd94184b640ba6cf91216955b2661be109 (diff)
downloadbcm5719-llvm-34735af3cb613d21757e5c6de1b8629327d0c3bf.tar.gz
bcm5719-llvm-34735af3cb613d21757e5c6de1b8629327d0c3bf.zip
Rename metadata llvm.loop.vectorize.unroll to llvm.loop.vectorize.interleave.
llvm-svn: 213587
Diffstat (limited to 'clang/lib/CodeGen/CGLoopInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGLoopInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGLoopInfo.cpp b/clang/lib/CodeGen/CGLoopInfo.cpp
index 1bc6d20158f..a273f1d4dda 100644
--- a/clang/lib/CodeGen/CGLoopInfo.cpp
+++ b/clang/lib/CodeGen/CGLoopInfo.cpp
@@ -39,7 +39,7 @@ static MDNode *createMetadata(LLVMContext &Ctx, const LoopAttributes &Attrs) {
// Setting vectorizer.unroll
if (Attrs.VectorizerUnroll > 0) {
- Value *Vals[] = { MDString::get(Ctx, "llvm.loop.vectorize.unroll"),
+ Value *Vals[] = { MDString::get(Ctx, "llvm.loop.interleave.count"),
ConstantInt::get(Type::getInt32Ty(Ctx),
Attrs.VectorizerUnroll) };
Args.push_back(MDNode::get(Ctx, Vals));
OpenPOWER on IntegriCloud