This is an archive of the discontinued LLVM Phabricator instance.

[Attributor] Handle `null` differently in capture and alias logic
ClosedPublic

Authored by jdoerfert on Oct 7 2019, 7:04 PM.

Details

Summary

null in the default address space (=AS 0) cannot be captured nor can
it alias anything. We make this clear now as it can be important for
callbacks and other cases later on. In addition, this patch improves the
debug output for noalias deduction.

Diff Detail

Event Timeline

jdoerfert created this revision.Oct 7 2019, 7:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 7 2019, 7:04 PM
uenoku accepted this revision.Oct 9 2019, 9:12 AM

LGTM

This revision is now accepted and ready to land.Oct 9 2019, 9:12 AM
This revision was automatically updated to reflect the committed changes.