summary refs log tree commit diff
path: root/emit.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2017-02-24 10:31:50 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2017-02-24 10:31:50 -0500
commit0699cd2e575bcaa951cb7d97bc77ab9acb2c9970 (patch)
treeca2569cbf21c747e9393d025b2bc5b93973ee7bf /emit.c
parent1bb7652484e1c7ca2cd7fcab858b4bbb18509879 (diff)
downloadroux-0699cd2e575bcaa951cb7d97bc77ab9acb2c9970.tar.gz
improve the range of action of load elimination
When eliminating `load %foo`, don't limit the
search to the live range of %foo, but to the
live range of its aliasing information.

For example, if %foo is a constant offset into
a stack-allocated slot,

    %foo =l add %slot, 42

the search will proceed on all the code in
which %slot is live, not only below the
definition of %foo, like before.
Diffstat (limited to 'emit.c')
0 files changed, 0 insertions, 0 deletions