This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Set noclobber metadata on loads instead of cast to constant
ClosedPublic

Authored by rampitec on Mar 7 2022, 3:56 PM.

Details

Summary

A load via pointer cast to constant will return true from
pointsToConstantMemory which is not necessarily so.

Fixes: SWDEV-326463

Diff Detail

Event Timeline

rampitec created this revision.Mar 7 2022, 3:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 7 2022, 3:56 PM
rampitec requested review of this revision.Mar 7 2022, 3:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 7 2022, 3:56 PM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm accepted this revision.Mar 7 2022, 5:03 PM
This revision is now accepted and ready to land.Mar 7 2022, 5:03 PM
This revision was landed with ongoing or failed builds.Mar 7 2022, 11:13 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 7 2022, 11:13 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript