[licm] LICM invalidates alias analysis info and uses broken information #792
Labels
bugzilla
Issues migrated from bugzilla
compile-fail
Use [accepts-invalid] and [rejects-valid] instead
Extended Description
gccld on 253.perlbmk crashes when run on persephone, because the LICM pass is
promoting a memory location out of a loop, and not updating the alias analysis.
The problem is that LICM uses a call to PromoteMemToReg to do all of the heavy
lifting and insertion of PHI nodes. Unfortunately, this causes some reasonably
large churn to the code and the alias analysis impl (glocalsmodref-aa in this
case) is not informed. Later, the stale information is used by LICM and a crash
results.
I will attach a reduced testcase for the problem.
-Chris
The text was updated successfully, but these errors were encountered: