diff options
author | Magnus Lång <[email protected]> | 2016-06-10 19:29:22 +0200 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2016-08-30 17:21:20 +0200 |
commit | d9b091472f9afb216fe9f0c763053baf89390a6c (patch) | |
tree | e7904d4146ac66bcbae6ac4a7e20874c6a7c07e1 /lib/hipe/arm/hipe_arm_cfg.erl | |
parent | 1567585dda8bc604871be06a37aa5d19ad6d28f3 (diff) | |
download | otp-d9b091472f9afb216fe9f0c763053baf89390a6c.tar.gz otp-d9b091472f9afb216fe9f0c763053baf89390a6c.tar.bz2 otp-d9b091472f9afb216fe9f0c763053baf89390a6c.zip |
hipe_arm: Minimise CFG<->linear conversions
Now, there will only ever be a single Linear->CFG conversion, just after
lowering from RTL, and only ever a single CFG->Linear conversion, just
before the finalise pass. Both of these now happen in hipe_arm_main.
Diffstat (limited to 'lib/hipe/arm/hipe_arm_cfg.erl')
-rw-r--r-- | lib/hipe/arm/hipe_arm_cfg.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/hipe/arm/hipe_arm_cfg.erl b/lib/hipe/arm/hipe_arm_cfg.erl index f2fa0a5164..2fb6675da9 100644 --- a/lib/hipe/arm/hipe_arm_cfg.erl +++ b/lib/hipe/arm/hipe_arm_cfg.erl @@ -24,6 +24,7 @@ -export([init/1, labels/1, start_label/1, succ/2, + map_bbs/2, fold_bbs/3, bb/2, bb_add/3]). -export([postorder/1]). -export([linearise/1]). @@ -35,6 +36,7 @@ -define(BREADTH_ORDER,true). % for linear scan -define(PARAMS_NEEDED,true). -define(START_LABEL_UPDATE_NEEDED,true). +-define(MAP_FOLD_NEEDED,true). -include("hipe_arm.hrl"). -include("../flow/cfg.hrl"). |