This is an archive of the discontinued LLVM Phabricator instance.

[RegAlloc] Remove addAllocPriorityToGlobalRanges hook
ClosedPublic

Authored by qiucf on Aug 12 2021, 8:53 PM.

Details

Summary

It was introduced in D105854 and only enabled for PowerPC/AMDGPU. Evaluate this as true for all targets.

Diff Detail

Event Timeline

qiucf created this revision.Aug 12 2021, 8:53 PM
qiucf requested review of this revision.Aug 12 2021, 8:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 12 2021, 8:53 PM
arsenm added inline comments.Aug 16 2021, 1:30 PM
llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement-stack-lower.ll
86 ↗(On Diff #366177)

Why are there any AMDGPU changes given that I recently overrode this to return true?

qiucf updated this revision to Diff 366790.Aug 16 2021, 7:40 PM
qiucf marked an inline comment as done.
qiucf edited the summary of this revision. (Show Details)
qiucf added inline comments.Aug 16 2021, 7:40 PM
llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement-stack-lower.ll
86 ↗(On Diff #366177)

Ah yes. I didn't checkout the revision when posting this patch. Rebased.

arsenm accepted this revision.Aug 17 2021, 1:34 PM
This revision is now accepted and ready to land.Aug 17 2021, 1:34 PM
This revision was automatically updated to reflect the committed changes.