From 415ac88a6471792a28cf2b457fe4ba9dc099396e Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 30 Sep 2014 18:09:14 +0100 Subject: Quick: In GVN, apply modifications early if outside loop. To improve GVN performance, apply modifications to blocks outside loops during the initial convergence phase. During the post processing phase, apply modifications only to the blocks belonging to loops. Also clean up the check whether to run the LVN and add the capability to limit the maximum number of nested loops we allow the GVN to process. Change-Id: Ie7f1254f91a442397c06a325d5d314d8f58e5012 --- compiler/dex/frontend.h | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/dex/frontend.h') diff --git a/compiler/dex/frontend.h b/compiler/dex/frontend.h index 51b6d68dc..bed3b9730 100644 --- a/compiler/dex/frontend.h +++ b/compiler/dex/frontend.h @@ -41,6 +41,7 @@ enum opt_control_vector { kNullCheckElimination, kClassInitCheckElimination, kGlobalValueNumbering, + kLocalValueNumbering, kPromoteRegs, kTrackLiveTemps, kSafeOptimizations, -- cgit v1.2.3