From 9c84859075e8dc415cfc012132ffd56c38b730e9 Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Wed, 24 Aug 2016 04:31:56 +0000 Subject: [Pragma] Clear loop distribution attribute between loops llvm-svn: 279608 --- clang/lib/CodeGen/CGLoopInfo.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/CodeGen/CGLoopInfo.cpp') 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, -- cgit v1.2.3