summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2016-08-24 04:31:56 +0000
committerAdam Nemet <anemet@apple.com>2016-08-24 04:31:56 +0000
commit9c84859075e8dc415cfc012132ffd56c38b730e9 (patch)
treecff6f2b2ab114b905516552112d24bd740b261ae /clang/lib/CodeGen
parent2862ba61c4a7a49e0fa914d365ae2ec14c68c98e (diff)
downloadbcm5719-llvm-9c84859075e8dc415cfc012132ffd56c38b730e9.tar.gz
bcm5719-llvm-9c84859075e8dc415cfc012132ffd56c38b730e9.zip
[Pragma] Clear loop distribution attribute between loops
llvm-svn: 279608
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGLoopInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGLoopInfo.cpp b/clang/lib/CodeGen/CGLoopInfo.cpp
index 51474f16a01..62ee57112b4 100644
--- a/clang/lib/CodeGen/CGLoopInfo.cpp
+++ b/clang/lib/CodeGen/CGLoopInfo.cpp
@@ -112,6 +112,7 @@ void LoopAttributes::clear() {
UnrollCount = 0;
VectorizeEnable = LoopAttributes::Unspecified;
UnrollEnable = LoopAttributes::Unspecified;
+ DistributeEnable = LoopAttributes::Unspecified;
}
LoopInfo::LoopInfo(BasicBlock *Header, const LoopAttributes &Attrs,
OpenPOWER on IntegriCloud