This is an archive of the discontinued LLVM Phabricator instance.

Fix regression from my recent GlobalsAA fix.
ClosedPublic

Authored by efriedma on Oct 19 2016, 2:49 PM.

Details

Summary

There are two fixes here: one, AnalyzeUsesOfPointer can't return false until it has checked all the uses of the pointer. Two, if a global uses another global, we have to assume the address of the first global escapes.

Fixes https://llvm.org/bugs/show_bug.cgi?id=30707 .

Diff Detail

Repository
rL LLVM

Event Timeline

efriedma updated this revision to Diff 75232.Oct 19 2016, 2:49 PM
efriedma retitled this revision from to Fix regression from my recent GlobalsAA fix..
efriedma updated this object.
efriedma added reviewers: sanjoy, chandlerc.
efriedma set the repository for this revision to rL LLVM.
efriedma added subscribers: llvm-commits, hfinkel, davide.
hfinkel accepted this revision.Oct 24 2016, 2:39 PM
hfinkel added a reviewer: hfinkel.

LGTM.

This revision is now accepted and ready to land.Oct 24 2016, 2:39 PM
This revision was automatically updated to reflect the committed changes.