This is an archive of the discontinued LLVM Phabricator instance.

[BasicAA] Extend negative offset logic from Allocas to GlobalVariables
ClosedPublic

Authored by mkuper on May 25 2016, 4:46 PM.

Details

Summary

This extends the logic of http://reviews.llvm.org/rL270777 to also apply to GlobalVariables in addition to Allocas.
I don't think there's any other kind of base object this can cover - it doesn't seem safe for arguments, noalias calls, or global aliases.

Diff Detail

Repository
rL LLVM

Event Timeline

mkuper updated this revision to Diff 58539.May 25 2016, 4:46 PM
mkuper retitled this revision from to [BasicAA] Extend negative offset logic from Allocas to GlobalVariables.
mkuper updated this object.
mkuper added reviewers: nlewycky, qcolombet, davidxl.
mkuper added subscribers: llvm-commits, dberlin, wmi.
davidxl accepted this revision.May 26 2016, 9:09 AM
davidxl edited edge metadata.

lgtm

This revision is now accepted and ready to land.May 26 2016, 9:09 AM
This revision was automatically updated to reflect the committed changes.