]> granicus.if.org Git - clang/commitdiff
[OPENMP] Codegen for distribute directive: fix bug in ordering of parameters.
authorCarlo Bertolli <cbertol@us.ibm.com>
Mon, 7 Mar 2016 16:19:13 +0000 (16:19 +0000)
committerCarlo Bertolli <cbertol@us.ibm.com>
Mon, 7 Mar 2016 16:19:13 +0000 (16:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262833 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGStmtOpenMP.cpp

index 8984aca7b70dd0caa5616eac1a8360fcba63cada..dfa3b91e11b94d04e0a3e9b4cbe2bf1d9c0f3838 100644 (file)
@@ -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);
 }