summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTWriterStmt.cpp
diff options
context:
space:
mode:
authorSamuel Antao <sfantao@us.ibm.com>2016-03-04 21:02:14 +0000
committerSamuel Antao <sfantao@us.ibm.com>2016-03-04 21:02:14 +0000
commitbf4d18d3d28c061852169dd7241f23d6c2f04a3b (patch)
tree44634908d64d1b2323117cda62d89c83e86e0b61 /clang/lib/Serialization/ASTWriterStmt.cpp
parentf006a96affd643697142b720bf654bd8542893b7 (diff)
downloadbcm5719-llvm-bf4d18d3d28c061852169dd7241f23d6c2f04a3b.tar.gz
bcm5719-llvm-bf4d18d3d28c061852169dd7241f23d6c2f04a3b.zip
Revert r262741 - [OPENMP] Codegen for distribute directive
Was causing a failure in one of the buildbot slaves. llvm-svn: 262744
Diffstat (limited to 'clang/lib/Serialization/ASTWriterStmt.cpp')
-rw-r--r--clang/lib/Serialization/ASTWriterStmt.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Serialization/ASTWriterStmt.cpp b/clang/lib/Serialization/ASTWriterStmt.cpp
index 02d7a60eb30..ba2fd48563e 100644
--- a/clang/lib/Serialization/ASTWriterStmt.cpp
+++ b/clang/lib/Serialization/ASTWriterStmt.cpp
@@ -2095,8 +2095,7 @@ void ASTStmtWriter::VisitOMPLoopDirective(OMPLoopDirective *D) {
Writer.AddStmt(D->getInit());
Writer.AddStmt(D->getInc());
if (isOpenMPWorksharingDirective(D->getDirectiveKind()) ||
- isOpenMPTaskLoopDirective(D->getDirectiveKind()) ||
- isOpenMPDistributeDirective(D->getDirectiveKind())) {
+ isOpenMPTaskLoopDirective(D->getDirectiveKind())) {
Writer.AddStmt(D->getIsLastIterVariable());
Writer.AddStmt(D->getLowerBoundVariable());
Writer.AddStmt(D->getUpperBoundVariable());
OpenPOWER on IntegriCloud