aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/main/hipe.erl
diff options
context:
space:
mode:
authorMagnus Lång <[email protected]>2016-09-01 17:42:12 +0200
committerMagnus Lång <[email protected]>2016-09-05 15:02:10 +0200
commitb4695b8088b8fc6f3844e33246849ed8bb8b18cf (patch)
treed0d89e14e2f3a33d9f98fbb82b06154df2140e98 /lib/hipe/main/hipe.erl
parent69e338f4a85f47ad2d8c1b63adb761006dc4a979 (diff)
downloadotp-b4695b8088b8fc6f3844e33246849ed8bb8b18cf.tar.gz
otp-b4695b8088b8fc6f3844e33246849ed8bb8b18cf.tar.bz2
otp-b4695b8088b8fc6f3844e33246849ed8bb8b18cf.zip
hipe: Add ra_partitioned to o1 and up
ra_partitioned significantly speeds up register allocation of larger functions without affecting allocation quality negatively. This is the final change needed to make o1 suitable for compiling really large functions without choking.
Diffstat (limited to 'lib/hipe/main/hipe.erl')
-rw-r--r--lib/hipe/main/hipe.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/main/hipe.erl b/lib/hipe/main/hipe.erl
index 6be522f430..bee5da2195 100644
--- a/lib/hipe/main/hipe.erl
+++ b/lib/hipe/main/hipe.erl
@@ -1390,7 +1390,7 @@ o0_opts(_TargetArch) ->
[concurrent_comp, {regalloc,linear_scan}].
o1_opts(TargetArch) ->
- Common = [inline_fp, pmatch, peephole,
+ Common = [inline_fp, pmatch, peephole, ra_prespill, ra_partitioned,
icode_ssa_const_prop, icode_ssa_copy_prop, icode_inline_bifs,
rtl_ssa, rtl_ssa_const_prop, rtl_ssapre,
spillmin_color, use_indexing, remove_comments,