diff options
author | Tyler Nowicki <tyler.nowicki@gmail.com> | 2015-07-14 23:03:09 +0000 |
---|---|---|
committer | Tyler Nowicki <tyler.nowicki@gmail.com> | 2015-07-14 23:03:09 +0000 |
commit | da46d0ea8c44e673dcfc25e7d65f8a7631e2de04 (patch) | |
tree | ab050d105df9f4d094e3c6a4217fa285f88d95e1 /clang/lib/CodeGen/CGStmtOpenMP.cpp | |
parent | 775993ca7d6a0e16b26b3fd39efb55af1299960e (diff) | |
download | bcm5719-llvm-da46d0ea8c44e673dcfc25e7d65f8a7631e2de04.tar.gz bcm5719-llvm-da46d0ea8c44e673dcfc25e7d65f8a7631e2de04.zip |
Make the variable names match the name of the metadata they control.
Rename Vectorizer to Vectorize and VectorizeUnroll to InterleaveCount.
llvm-svn: 242241
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGStmtOpenMP.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp index a1f093a8d86..b11372bbcb7 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -741,7 +741,7 @@ static void emitSafelenClause(CodeGenFunction &CGF, RValue Len = CGF.EmitAnyExpr(C->getSafelen(), AggValueSlot::ignored(), /*ignoreResult=*/true); llvm::ConstantInt *Val = cast<llvm::ConstantInt>(Len.getScalarVal()); - CGF.LoopStack.setVectorizerWidth(Val->getZExtValue()); + CGF.LoopStack.setVectorizeWidth(Val->getZExtValue()); // In presence of finite 'safelen', it may be unsafe to mark all // the memory instructions parallel, because loop-carried // dependences of 'safelen' iterations are possible. @@ -752,7 +752,7 @@ static void emitSafelenClause(CodeGenFunction &CGF, void CodeGenFunction::EmitOMPSimdInit(const OMPLoopDirective &D) { // Walk clauses and process safelen/lastprivate. LoopStack.setParallel(); - LoopStack.setVectorizerEnable(true); + LoopStack.setVectorizeEnable(true); emitSafelenClause(*this, D); } |