r262833 - [OPENMP] Codegen for distribute directive: fix bug in ordering of parameters.

Carlo Bertolli via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 7 08:19:14 PST 2016


Author: cbertol
Date: Mon Mar  7 10:19:13 2016
New Revision: 262833

URL: http://llvm.org/viewvc/llvm-project?rev=262833&view=rev
Log:
[OPENMP] Codegen for distribute directive: fix bug in ordering of parameters.

Modified:
    cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp

Modified: cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp?rev=262833&r1=262832&r2=262833&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp Mon Mar  7 10:19:13 2016
@@ -1577,7 +1577,7 @@ void CodeGenFunction::EmitOMPForOuterLoo
                          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);
 }
 




More information about the cfe-commits mailing list