This is an archive of the discontinued LLVM Phabricator instance.

[AliasAnalysis] Add missing FMRB_* enums.
ClosedPublic

Authored by efriedma on Jan 21 2020, 5:53 PM.

Details

Summary

Previously, the enums didn't account for all the possible cases, which could cause misleading results (particularly for a "switch" on FunctionModRefBehavior).

Fixes regression in polly from recent patch to add writeonly to memset.

While I'm here, also fix a few dubious uses of the FMRB_* enum values to use an appropriate helper instead.

Diff Detail

Event Timeline

efriedma created this revision.Jan 21 2020, 5:53 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: hiraditya. · View Herald Transcript
hfinkel accepted this revision.Jan 21 2020, 6:41 PM

LGTM

This revision is now accepted and ready to land.Jan 21 2020, 6:41 PM
This revision was automatically updated to reflect the committed changes.