aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.def
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2015-09-30 19:16:29 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2015-09-30 19:16:29 +0000
commit94829f87ca78fa846fdf1140c4a2af802488fb8f (patch)
treef710b1d5f6f8b031a6772ee5bbe8b6b99a692f7d /gcc/passes.def
parent9a9fe2b4d216494a9992a354c337c8b2279c43b8 (diff)
downloadgcc-94829f87ca78fa846fdf1140c4a2af802488fb8f.zip
gcc-94829f87ca78fa846fdf1140c4a2af802488fb8f.tar.gz
gcc-94829f87ca78fa846fdf1140c4a2af802488fb8f.tar.bz2
nvptx.c (nvptx_goacc_validate_dims): New.
* config/nvptx/nvptx.c (nvptx_goacc_validate_dims): New. (TARGET_GOACC_VALIDATE_DIMS): Override. * target.def (TARGET_GOACC): New target hook prefix. (validate_dims): New hook. * targhooks.h (default_goacc_validate_dims): New. * omp-low.c (oacc_validate_dims): New. (execute_oacc_device_lower): New. (default_goacc_validate_dims): New. (pass_data_oacc_device_lower): New. (pass_oacc_device_lower): New pass. (make_pass_oacc_device_lower): New. * tree-pass.h (make_pass_oacc_device_lower): Declare. * passes.def (pass_oacc_device_lower): Add it. * doc/tm.texi: Rebuilt. * doc/tm.texi.in (TARGET_GOACC_VALIDATE_DIMS): Add hook. * doc/invoke.texi (oaccdevlow): Document tree dump flag. Co-Authored-By: Cesar Philippidis <cesar@codesourcery.com> From-SVN: r228304
Diffstat (limited to 'gcc/passes.def')
-rw-r--r--gcc/passes.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/passes.def b/gcc/passes.def
index 64fc4d9..28dea9e 100644
--- a/gcc/passes.def
+++ b/gcc/passes.def
@@ -148,6 +148,7 @@ along with GCC; see the file COPYING3. If not see
INSERT_PASSES_AFTER (all_passes)
NEXT_PASS (pass_fixup_cfg);
NEXT_PASS (pass_lower_eh_dispatch);
+ NEXT_PASS (pass_oacc_device_lower);
NEXT_PASS (pass_all_optimizations);
PUSH_INSERT_PASSES_WITHIN (pass_all_optimizations)
NEXT_PASS (pass_remove_cgraph_callee_edges);