From 4aebcdaa94a2883333e07aed42419e83e3030f05 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 1 Dec 2013 17:02:19 +0000 Subject: [PATCH] * enable node dfa for life information with -O3: - all known issues with it are fixed - the resulting warnings about uninitialized warnings are better than that ones from the old code - with node dfa in place, stuff like dead store removal, strength reduction and ssa can be finished now - drawback: with node dfa enabled, the compiler is 2-3% slower, there is still some room for improvement though git-svn-id: trunk@26165 - --- compiler/globtype.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/globtype.pas b/compiler/globtype.pas index 6af3bb93a8..67a0714b5a 100644 --- a/compiler/globtype.pas +++ b/compiler/globtype.pas @@ -336,7 +336,7 @@ interface { switches being applied to all CPUs at the given level } genericlevel1optimizerswitches = [cs_opt_level1]; genericlevel2optimizerswitches = [cs_opt_level2,cs_opt_remove_emtpy_proc]; - genericlevel3optimizerswitches = [cs_opt_level3,cs_opt_constant_propagate]; + genericlevel3optimizerswitches = [cs_opt_level3,cs_opt_constant_propagate,cs_opt_nodedfa]; genericlevel4optimizerswitches = [cs_opt_reorder_fields,cs_opt_dead_values,cs_opt_fastmath]; { whole program optimizations whose information generation requires