summaryrefslogtreecommitdiff
path: root/gcc/passes.def
diff options
context:
space:
mode:
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>2018-09-18 18:11:01 +0200
committerChristoph Muellner <christoph.muellner@theobroma-systems.com>2018-09-28 17:22:10 +0200
commit1a7503cd23d1084ebc6bd7f4892f0c2c5827e0ca (patch)
treeca202edd885b83ea1cd0485854a2612b23b1547f /gcc/passes.def
parentb67a04233bfc1f711b72495fdd09391aeaf7af82 (diff)
noloopalias: Add new pass to optimise loops.gcc-8_2_0-amp2-branch
This pass allows to declare pointer non-aliasing on loop level within the given function. If such non-aliasing is given, then we outline the loop into its own function. The arguments of the new function are all variables, which are used in the loop, where pointers are declared as restricted types (non-aliasing). This allows to optimize the loop more aggressively. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
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 fe81b405f140..1258c442e4e3 100644
--- a/gcc/passes.def
+++ b/gcc/passes.def
@@ -45,6 +45,7 @@ along with GCC; see the file COPYING3. If not see
NEXT_PASS (pass_sprintf_length, false);
NEXT_PASS (pass_walloca, /*strict_mode_p=*/true);
NEXT_PASS (pass_build_cgraph_edges);
+ NEXT_PASS (pass_uninline_innermost_loops);
TERMINATE_PASS_LIST (all_lowering_passes)
/* Interprocedural optimization passes. */