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/regalloc | |
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/regalloc')
-rw-r--r-- | lib/hipe/regalloc/hipe_arm_specific.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/hipe/regalloc/hipe_arm_specific.erl b/lib/hipe/regalloc/hipe_arm_specific.erl index 4e34cb1d99..e04d80f690 100644 --- a/lib/hipe/regalloc/hipe_arm_specific.erl +++ b/lib/hipe/regalloc/hipe_arm_specific.erl @@ -53,11 +53,11 @@ -export([defun_to_cfg/1, check_and_rewrite/2]). -defun_to_cfg(Defun) -> - hipe_arm_cfg:init(Defun). +defun_to_cfg(AlreadyACFG) -> + AlreadyACFG. -check_and_rewrite(Defun, Coloring) -> - hipe_arm_ra_postconditions:check_and_rewrite(Defun, Coloring, 'normal'). +check_and_rewrite(CFG, Coloring) -> + hipe_arm_ra_postconditions:check_and_rewrite(CFG, Coloring, 'normal'). reverse_postorder(CFG) -> hipe_arm_cfg:reverse_postorder(CFG). |