From 6c82ffba5274c580bbe332aee72ba3c006352cdf Mon Sep 17 00:00:00 2001 From: Carlo Bertolli Date: Mon, 7 Mar 2016 16:19:13 +0000 Subject: [PATCH] [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 --- lib/CodeGen/CGStmtOpenMP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.40.0