diff options
author | Magnus Lång <[email protected]> | 2016-06-16 15:29:39 +0200 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2016-08-30 17:21:20 +0200 |
commit | 265b7f707273ad4dc73dd9d44007d417fc828774 (patch) | |
tree | a840b29f70e31f7118dcf8339db1a760e87e0535 /lib/hipe/regalloc/hipe_ppc_specific.erl | |
parent | d9b091472f9afb216fe9f0c763053baf89390a6c (diff) | |
download | otp-265b7f707273ad4dc73dd9d44007d417fc828774.tar.gz otp-265b7f707273ad4dc73dd9d44007d417fc828774.tar.bz2 otp-265b7f707273ad4dc73dd9d44007d417fc828774.zip |
hipe_ppc: 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_ppc_main.
Diffstat (limited to 'lib/hipe/regalloc/hipe_ppc_specific.erl')
-rw-r--r-- | lib/hipe/regalloc/hipe_ppc_specific.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/hipe/regalloc/hipe_ppc_specific.erl b/lib/hipe/regalloc/hipe_ppc_specific.erl index c49b1e510f..988501c96f 100644 --- a/lib/hipe/regalloc/hipe_ppc_specific.erl +++ b/lib/hipe/regalloc/hipe_ppc_specific.erl @@ -53,11 +53,11 @@ -export([defun_to_cfg/1, check_and_rewrite/2]). -defun_to_cfg(Defun) -> - hipe_ppc_cfg:init(Defun). +defun_to_cfg(AlreadyACFG) -> + AlreadyACFG. -check_and_rewrite(Defun, Coloring) -> - hipe_ppc_ra_postconditions:check_and_rewrite(Defun, Coloring, 'normal'). +check_and_rewrite(CFG, Coloring) -> + hipe_ppc_ra_postconditions:check_and_rewrite(CFG, Coloring, 'normal'). reverse_postorder(CFG) -> hipe_ppc_cfg:reverse_postorder(CFG). |