summary refs log tree commit diff
path: root/lisc/util.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-27 11:36:47 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-30 13:20:42 -0400
commitdfede22dcdbf9dd1aa24aecf583bd94dda2e1bfa (patch)
tree997c28b7cfbd480a81bf9f5a75ee9c3f3a05522b /lisc/util.c
parent56203de6df7e8ed7f05dc3db061ef30d955cb795 (diff)
downloadroux-dfede22dcdbf9dd1aa24aecf583bd94dda2e1bfa.tar.gz
new regalloc heuristic for phis
At the beginning of each block look at the phi nodes that
have some arguments already allocated.  If the some
arguments from blocks with high execution frequency are
all assigned 'r', reset the the hint for the phi node to
this 'r'.  Combined with the following heuristic, this
can save some copies at the end of the destination blocks.
Diffstat (limited to 'lisc/util.c')
0 files changed, 0 insertions, 0 deletions