From: Carlo Bertolli Date: Mon, 7 Mar 2016 16:19:13 +0000 (+0000) Subject: [OPENMP] Codegen for distribute directive: fix bug in ordering of parameters. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c82ffba5274c580bbe332aee72ba3c006352cdf;p=clang [OPENMP] Codegen for distribute directive: fix bug in ordering of parameters. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262833 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGStmtOpenMP.cpp b/lib/CodeGen/CGStmtOpenMP.cpp index 8984aca7b7..dfa3b91e11 100644 --- a/lib/CodeGen/CGStmtOpenMP.cpp +++ b/lib/CodeGen/CGStmtOpenMP.cpp @@ -1577,7 +1577,7 @@ void CodeGenFunction::EmitOMPForOuterLoop( Ordered, IL, LB, UB, ST, Chunk); } - EmitOMPOuterLoop(IsMonotonic, DynamicOrOrdered, S, LoopScope, Ordered, LB, UB, + EmitOMPOuterLoop(DynamicOrOrdered, IsMonotonic, S, LoopScope, Ordered, LB, UB, ST, IL, Chunk); }