summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2021-10-03 21:39:46 +0200
committerAndy Wingo <wingo@pobox.com>2021-10-03 21:39:46 +0200
commite60469c8b6936575c079faaffa40a340e1d49f3c (patch)
tree6a0fb837a7e8369e8e8b2b156d55389aca45b19a /lib
parent71e201d5c4fd10c4bd9abbbc68b8971e8201ac7f (diff)
downloadguile-e60469c8b6936575c079faaffa40a340e1d49f3c.tar.gz
Add primitive alias analysis to CSE
* module/language/cps/effects-analysis.scm (compute-known-allocations): (compute-clobber-map): Add "conts" parameter, and use it to compute primcalls that access known allocations. A write to a known allocation only clobbers a read to a known allocation if they are the same. * module/language/cps/cse.scm (eliminate-common-subexpressions-in-fun): Pass conts also to compute-clobber-map.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions