This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Avoid mistaking a ds atomic for a load
AbandonedPublic

Authored by tpr on Mar 27 2019, 2:13 AM.

Details

Reviewers
arsenm
Summary

SIInstrInfo::areLoadsFromSameBasePtr was mistaking a ds atomic for a
load, and then asserting when there was a non-constant operand where it
was expecting to find the load constant offset.

Change-Id: I484b3e240d0a25f34846a8cafbaf2befb37f8c07

Diff Detail

Event Timeline

tpr created this revision.Mar 27 2019, 2:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 27 2019, 2:13 AM
tpr added a reviewer: arsenm.Mar 27 2019, 2:14 AM

Duplicate D59851, except mine still allows clustering

tpr abandoned this revision.Mar 27 2019, 9:46 AM

OK thanks Matt.