This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] getMemOperandsWithOffset: add resource operand for BUF instructions
ClosedPublic

Authored by foad on Feb 3 2020, 1:55 AM.

Details

Summary

This prevents unwanted clustering of BUF instructions with the same
vaddr but different resource descriptors.

Diff Detail

Event Timeline

foad created this revision.Feb 3 2020, 1:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2020, 1:55 AM

Unit tests: pass. 62407 tests passed, 0 failed and 839 were skipped.

clang-tidy: pass.

clang-format: pass.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.

arsenm accepted this revision.Feb 3 2020, 7:16 AM

LGTM

This revision is now accepted and ready to land.Feb 3 2020, 7:16 AM
This revision was automatically updated to reflect the committed changes.

What about adding a cluster test to check that the scheduler actually forms reasonable clusters?