This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix omp lowering documentation
- From: Diego Novillo <dnovillo at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 23 Jan 2006 15:09:07 -0500
- Subject: Fix omp lowering documentation
Documentation on the lowering process was out of date. Fixed.
Index: omp-low.c
===================================================================
--- omp-low.c (revision 110131)
+++ omp-low.c (working copy)
@@ -50,14 +50,9 @@ Software Foundation, 51 Franklin Street,
re-gimplifing things when variables have been replaced with complex
expressions.
- Lowering of a parallel statement results in the contents of the
- parallel being moved to a new function, to be invoked by the thread
- library. The variable remapping process is complex enough that only
- one level of parallel statement is handled at one time. If there are
- nested parallel statements, those nested statements are handled when
- the new function is lowered and optimized. The result is not 100%
- optimal, but lexically nested parallels effectively only happens in
- test suites. */
+ Final code generation is done by pass_expand_omp. The flowgraph is
+ scanned for parallel regions which are then moved to a new
+ function, to be invoked by the thread library. */
/* Parallel region information. Every parallel and workshare
directive is enclosed between two markers, the OMP_* directive