This is an archive of the discontinued LLVM Phabricator instance.

[NewPM][AMDGPU] Make amdgpu-aa work with NewPM
ClosedPublic

Authored by aeubanks on Dec 29 2020, 12:49 PM.

Details

Summary

An AMDGPUAA class already existed that was supposed to work with the new
PM, but it wasn't tested and was a bit broken.

Fix up the existing classes to have the right keys/parameters.
Wire up AMDGPUAA inside AMDGPUTargetMachine.

Add it to the list of alias analyses for the "default" AAManager since
in adjustPassManager() amdgpu-aa is added into the pipeline at the
beginning.

Diff Detail

Event Timeline

aeubanks created this revision.Dec 29 2020, 12:49 PM
aeubanks requested review of this revision.Dec 29 2020, 12:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 29 2020, 12:49 PM
aeubanks updated this revision to Diff 314265.Jan 2 2021, 7:33 PM

separate out rename

aeubanks edited the summary of this revision. (Show Details)Jan 2 2021, 7:33 PM
arsenm accepted this revision.Jan 4 2021, 10:52 AM
This revision is now accepted and ready to land.Jan 4 2021, 10:52 AM
This revision was landed with ongoing or failed builds.Jan 4 2021, 12:37 PM
This revision was automatically updated to reflect the committed changes.